Skip to content

Commit

Permalink
Upgrade actions/setup-go
Browse files Browse the repository at this point in the history
Also ensure that it installs the latest available matching Go
release.
  • Loading branch information
mihaitodor committed Oct 13, 2022
1 parent 2498cc0 commit 918c159
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 9 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/docker_edge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@ jobs:
steps:

- name: Install Go
uses: actions/setup-go@v2
uses: actions/setup-go@v3
with:
go-version: 1.19.x
check-latest: true

- name: Check Out Repo
uses: actions/checkout@v2
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/integration_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@ jobs:
steps:

- name: Install Go
uses: actions/setup-go@v2
uses: actions/setup-go@v3
with:
go-version: 1.19.x
check-latest: true

- name: Checkout code
uses: actions/checkout@v2
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@ jobs:
steps:

- name: Install Go
uses: actions/setup-go@v2
uses: actions/setup-go@v3
with:
go-version: 1.19.x
check-latest: true

- name: Check Out Repo
uses: actions/checkout@v2
Expand Down Expand Up @@ -45,9 +46,10 @@ jobs:
steps:

- name: Install Go
uses: actions/setup-go@v2
uses: actions/setup-go@v3
with:
go-version: 1.19.x
check-latest: true

- name: Check Out Repo
uses: actions/checkout@v2
Expand Down
12 changes: 7 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,10 @@ jobs:
steps:

- name: Install Go
uses: actions/setup-go@v2
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
check-latest: true

- name: Checkout code
uses: actions/checkout@v2
Expand Down Expand Up @@ -52,9 +53,10 @@ jobs:
steps:

- name: Install Go
uses: actions/setup-go@v2
uses: actions/setup-go@v3
with:
go-version: 1.19.x
check-latest: true

- name: Checkout code
uses: actions/checkout@v2
Expand Down Expand Up @@ -87,9 +89,10 @@ jobs:
steps:

- name: Install Go
uses: actions/setup-go@v2
uses: actions/setup-go@v3
with:
go-version: 1.19.x
check-latest: true

- name: Checkout code
uses: actions/checkout@v2
Expand All @@ -105,5 +108,4 @@ jobs:
run: go install golang.org/x/vuln/cmd/govulncheck@latest

- name: Run govulncheck
# Suppress errors since it also reports vulnerabilities in the standard library
run: govulncheck ./... || true
run: govulncheck ./...

0 comments on commit 918c159

Please sign in to comment.