Skip to content

Commit

Permalink
.github/workflows: get go version from go.mod directive
Browse files Browse the repository at this point in the history
Signed-off-by: Vincent Demeester <[email protected]>
  • Loading branch information
vdemeester committed Dec 20, 2024
1 parent 16f5197 commit 389fad8
Show file tree
Hide file tree
Showing 7 changed files with 293 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
- name: Setup go
uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5
with:
go-version: '1.22.x'
go-version-file: go.mod

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/e2e-matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,15 @@ jobs:

steps:
- name: Check out code onto GOPATH
uses: actions/checkout@v4
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
path: ${{ github.workspace }}/src/github.com/tektoncd/pipeline


- name: Set up Go 1.22
uses: actions/setup-go@v5
- name: Set up Go (from go.mod)
uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5
with:
go-version: 1.22.5
go-version-file: ${{ github.workspace }}/src/github.com/tektoncd/pipeline/go.mod

- name: Install Dependencies
working-directory: ./
Expand Down Expand Up @@ -107,4 +107,4 @@ jobs:
cat $x
echo '::endgroup::'
done
fi
fi
56 changes: 56 additions & 0 deletions vendor/golang.org/x/net/html/iter.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

122 changes: 122 additions & 0 deletions vendor/golang.org/x/net/http2/config.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

61 changes: 61 additions & 0 deletions vendor/golang.org/x/net/http2/config_go124.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 16 additions & 0 deletions vendor/golang.org/x/net/http2/config_pre_go124.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 32 additions & 0 deletions vendor/golang.org/x/net/http2/unencrypted.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 389fad8

Please sign in to comment.