diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 4b8d78a9..bb5e655d 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -13,24 +13,24 @@ 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) - 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 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 + go-version: 1.22 - name: Check if regenerating causes a diff run: scripts/ci/ensure-generated.sh test_golang: @@ -38,10 +38,10 @@ 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 + go-version: 1.22 - name: Run go tests run: go test ./...