From 30d98717d441914ad60095b7bca1fb4451a3f139 Mon Sep 17 00:00:00 2001 From: Jason Hall Date: Wed, 11 Sep 2024 13:52:34 -0500 Subject: [PATCH] some more Signed-off-by: Jason Hall --- .github/workflows/build.yaml | 2 +- .github/workflows/ecr-auth.yaml | 6 ++---- .github/workflows/presubmit.yaml | 3 +-- .github/workflows/test.yaml | 2 +- 4 files changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 58d2fcb9d..69d2aa8bf 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -12,7 +12,7 @@ jobs: strategy: matrix: - go-version: [1.19, '1.20'] + go-version: ['1.22', '1.23'] steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/ecr-auth.yaml b/.github/workflows/ecr-auth.yaml index 755c36c55..54d56b3c3 100644 --- a/.github/workflows/ecr-auth.yaml +++ b/.github/workflows/ecr-auth.yaml @@ -21,8 +21,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v4 with: - go-version: 1.19 - check-latest: true + go-version-file: go.mod - name: Install krane working-directory: ./cmd/krane @@ -61,8 +60,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v4 with: - go-version: 1.19 - check-latest: true + go-version-file: go.mod - name: Install crane working-directory: ./cmd/crane diff --git a/.github/workflows/presubmit.yaml b/.github/workflows/presubmit.yaml index 87df8e85c..b308490b2 100644 --- a/.github/workflows/presubmit.yaml +++ b/.github/workflows/presubmit.yaml @@ -29,6 +29,5 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v4 with: - go-version: 1.19 - check-latest: true + go-version-file: go.mod - run: ./hack/presubmit.sh diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 721cce09e..9eca8613d 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -11,7 +11,7 @@ jobs: test: strategy: matrix: - go-version: [1.19, '1.20'] + go-version: ['1.22', '1.23'] name: Unit Tests runs-on: ubuntu-latest