diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 731153f..ac1dde9 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -9,7 +9,7 @@ on: - 'v*' env: - GO_VERSION: "1.21.x" + GO_VERSION: "1.22.x" jobs: wait-for-checks: @@ -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.yaml) - checkName: "Static-Analysis (1.21.x, ubuntu-latest)" + checkName: "Static-Analysis (1.22.x, ubuntu-latest)" ref: ${{ github.event.pull_request.head.sha || github.sha }} - name: Check unit test results @@ -49,7 +49,7 @@ jobs: with: token: ${{ secrets.GITHUB_TOKEN }} # This check name is defined as the github actions job name (in .github/workflows/unit-test.yaml) - checkName: "Unit-Tests (1.21.x, ubuntu-latest)" + checkName: "Unit-Tests (1.22.x, ubuntu-latest)" ref: ${{ github.event.pull_request.head.sha || github.sha }} - name: Quality gate diff --git a/.github/workflows/snapshot.yaml b/.github/workflows/snapshot.yaml index 9fc4f88..054fbd7 100644 --- a/.github/workflows/snapshot.yaml +++ b/.github/workflows/snapshot.yaml @@ -7,7 +7,7 @@ on: - main env: - GO_VERSION: "1.21.x" + GO_VERSION: "1.22.x" jobs: Build-Snapshot-Artifacts: diff --git a/.github/workflows/static-analysis.yaml b/.github/workflows/static-analysis.yaml index ee52e80..8c8a17f 100644 --- a/.github/workflows/static-analysis.yaml +++ b/.github/workflows/static-analysis.yaml @@ -7,7 +7,7 @@ jobs: Static-Analysis: strategy: matrix: - go-version: ["1.21.x"] + go-version: ["1.22.x"] platform: [ubuntu-latest] runs-on: ${{ matrix.platform }} steps: diff --git a/.github/workflows/unit-test.yaml b/.github/workflows/unit-test.yaml index 3a43f78..f3da08e 100644 --- a/.github/workflows/unit-test.yaml +++ b/.github/workflows/unit-test.yaml @@ -8,7 +8,7 @@ jobs: strategy: matrix: # test the lower bounds of support, and the latest available - go-version: ["1.21.x"] + go-version: ["1.22.x"] platform: [ubuntu-latest] runs-on: ${{ matrix.platform }} steps: diff --git a/go.mod b/go.mod index d366434..c439a62 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/anchore/ecs-inventory -go 1.21 +go 1.22 require ( github.com/adrg/xdg v0.4.0