Skip to content

Commit

Permalink
chore: bump go to 1.21
Browse files Browse the repository at this point in the history
Signed-off-by: Bradley Jones <[email protected]>
  • Loading branch information
bradleyjones committed Oct 4, 2023
1 parent 109548d commit ed8320c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
- 'v*'

env:
GO_VERSION: "1.20.x"
GO_VERSION: "1.21.x"

jobs:
wait-for-checks:
Expand All @@ -31,7 +31,7 @@ jobs:
with:
token: ${{ secrets.GITHUB_TOKEN }}
# This check name is defined as the github actions job name (in .github/workflows/static-analysis-integration.yaml)
checkName: "Static-Analysis (1.20.x, ubuntu-latest)"
checkName: "Static-Analysis (1.21.x, ubuntu-latest)"
ref: ${{ github.event.pull_request.head.sha || github.sha }}

- name: Check unit, and integration test results
Expand All @@ -40,7 +40,7 @@ jobs:
with:
token: ${{ secrets.GITHUB_TOKEN }}
# This check name is defined as the github actions job name (in .github/workflows/static-analysis-integration.yaml)
checkName: "Tests (1.20.x, ubuntu-latest)"
checkName: "Tests (1.21.x, ubuntu-latest)"
ref: ${{ github.event.pull_request.head.sha || github.sha }}

- name: Quality gate
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/static-unit-integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
Static-Analysis:
strategy:
matrix:
go-version: ["1.20.x"]
go-version: ["1.21.x"]
platform: [ubuntu-latest]
runs-on: ${{ matrix.platform }}
steps:
Expand Down Expand Up @@ -43,7 +43,7 @@ jobs:
strategy:
matrix:
# test the lower bounds of support, and the latest available
go-version: ["1.20.x"]
go-version: ["1.21.x"]
platform: [ubuntu-latest]
runs-on: ${{ matrix.platform }}
steps:
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/anchore/k8s-inventory

go 1.20
go 1.21.0

require (
github.com/adrg/xdg v0.4.0
Expand Down

0 comments on commit ed8320c

Please sign in to comment.