From dc8ca254c44e16844f9374ce4e7de27a5d2c4074 Mon Sep 17 00:00:00 2001 From: Paul Larsen Date: Fri, 16 Aug 2024 19:13:59 +0100 Subject: [PATCH 1/2] update ci deps --- .github/workflows/ci.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 4b8d78a9..8d28c41f 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -13,9 +13,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: golangci-lint - uses: golangci/golangci-lint-action@v2 + uses: golangci/golangci-lint-action@v6 with: version: latest # skip cache to avoid flakes (and avoid using gh-action storage) @@ -26,9 +26,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Setup go - uses: actions/setup-go@v2 + uses: actions/setup-go@v5 with: go-version: 1.20.2 - name: Check if regenerating causes a diff @@ -38,9 +38,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Setup go - uses: actions/setup-go@v2 + uses: actions/setup-go@v5 with: go-version: 1.20.2 - name: Run go tests From b916f152a55c687b20a4d8588f36c6ed42c251e8 Mon Sep 17 00:00:00 2001 From: Paul Larsen Date: Sat, 17 Aug 2024 08:56:29 +0100 Subject: [PATCH 2/2] param updates + go version --- .github/workflows/ci.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 8d28c41f..bb5e655d 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -19,8 +19,8 @@ jobs: with: version: latest # skip cache to avoid flakes (and avoid using gh-action storage) - skip-build-cache: true - skip-pkg-cache: true + skip-cache: true + skip-save-cache: true generate_code: name: Check generated code diff runs-on: ubuntu-latest @@ -30,7 +30,7 @@ jobs: - name: Setup go uses: actions/setup-go@v5 with: - go-version: 1.20.2 + go-version: 1.22 - name: Check if regenerating causes a diff run: scripts/ci/ensure-generated.sh test_golang: @@ -42,6 +42,6 @@ jobs: - name: Setup go uses: actions/setup-go@v5 with: - go-version: 1.20.2 + go-version: 1.22 - name: Run go tests run: go test ./...