From 808e3548ee866e772d1332488cd8b94eb5df9b28 Mon Sep 17 00:00:00 2001 From: Ajay Kemparaj Date: Tue, 1 Oct 2024 09:30:06 -0700 Subject: [PATCH] bump actions to latest (#2011) --- .github/workflows/analyze.yaml | 2 +- .github/workflows/boilerplate.yaml | 2 +- .github/workflows/build.yaml | 6 +++--- .github/workflows/bump-deps.yaml | 4 ++-- .github/workflows/donotsubmit.yaml | 2 +- .github/workflows/e2e.yaml | 4 ++-- .github/workflows/ecr-auth.yaml | 8 ++++---- .github/workflows/ghcr-auth.yaml | 4 ++-- .github/workflows/presubmit.yaml | 4 ++-- .github/workflows/release.yml | 4 ++-- .github/workflows/stale.yaml | 2 +- .github/workflows/style.yaml | 8 ++++---- .github/workflows/test.yaml | 6 +++--- 13 files changed, 28 insertions(+), 28 deletions(-) diff --git a/.github/workflows/analyze.yaml b/.github/workflows/analyze.yaml index 5982e60e9..eda5f90a3 100644 --- a/.github/workflows/analyze.yaml +++ b/.github/workflows/analyze.yaml @@ -12,7 +12,7 @@ jobs: name: Analyze runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: # We must fetch at least the immediate parents so that if this is # a pull request then we can checkout the head. diff --git a/.github/workflows/boilerplate.yaml b/.github/workflows/boilerplate.yaml index 3782e5123..bae82167e 100644 --- a/.github/workflows/boilerplate.yaml +++ b/.github/workflows/boilerplate.yaml @@ -25,7 +25,7 @@ jobs: steps: - name: Check out code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - uses: chainguard-dev/actions/boilerplate@5e21cb47971231c078a677dfe89a348371cb880c # main with: diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 58d2fcb9d..913923f8a 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -12,11 +12,11 @@ jobs: strategy: matrix: - go-version: [1.19, '1.20'] + go-version: [1.19, 1.20] steps: - - uses: actions/checkout@v3 - - uses: actions/setup-go@v4 + - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 with: go-version: ${{ matrix.go-version }} check-latest: true diff --git a/.github/workflows/bump-deps.yaml b/.github/workflows/bump-deps.yaml index 3e3454697..a57304aa1 100644 --- a/.github/workflows/bump-deps.yaml +++ b/.github/workflows/bump-deps.yaml @@ -18,8 +18,8 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-go@v4 + - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 with: go-version: 1.19 check-latest: true diff --git a/.github/workflows/donotsubmit.yaml b/.github/workflows/donotsubmit.yaml index 92d454bc5..0ebf7e08f 100644 --- a/.github/workflows/donotsubmit.yaml +++ b/.github/workflows/donotsubmit.yaml @@ -11,5 +11,5 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: chainguard-dev/actions/donotsubmit@5e21cb47971231c078a677dfe89a348371cb880c # main diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index f82e12783..af37dd05e 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -16,8 +16,8 @@ jobs: runs-on: ${{ matrix.platform }} steps: - - uses: actions/checkout@v3 - - uses: actions/setup-go@v4 + - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 with: go-version: 1.19 check-latest: true diff --git a/.github/workflows/ecr-auth.yaml b/.github/workflows/ecr-auth.yaml index 755c36c55..f17e5132d 100644 --- a/.github/workflows/ecr-auth.yaml +++ b/.github/workflows/ecr-auth.yaml @@ -18,8 +18,8 @@ jobs: AWS_REGION: us-east-2 steps: - - uses: actions/checkout@v3 - - uses: actions/setup-go@v4 + - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 with: go-version: 1.19 check-latest: true @@ -58,8 +58,8 @@ jobs: AWS_REGION: us-east-2 steps: - - uses: actions/checkout@v3 - - uses: actions/setup-go@v4 + - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 with: go-version: 1.19 check-latest: true diff --git a/.github/workflows/ghcr-auth.yaml b/.github/workflows/ghcr-auth.yaml index 342013792..c8bfa01c4 100644 --- a/.github/workflows/ghcr-auth.yaml +++ b/.github/workflows/ghcr-auth.yaml @@ -14,8 +14,8 @@ jobs: krane: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-go@v4 + - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 with: go-version: 1.19 check-latest: true diff --git a/.github/workflows/presubmit.yaml b/.github/workflows/presubmit.yaml index 87df8e85c..680f006aa 100644 --- a/.github/workflows/presubmit.yaml +++ b/.github/workflows/presubmit.yaml @@ -26,8 +26,8 @@ jobs: runs-on: 'ubuntu-latest' steps: - - uses: actions/checkout@v3 - - uses: actions/setup-go@v4 + - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 with: go-version: 1.19 check-latest: true diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3e09cdbfc..8e08c2b49 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,10 +10,10 @@ jobs: outputs: hashes: ${{ steps.hash.outputs.hashes }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Unshallow run: git fetch --prune --unshallow - - uses: actions/setup-go@v4 + - uses: actions/setup-go@v5 with: go-version: 1.21 check-latest: true diff --git a/.github/workflows/stale.yaml b/.github/workflows/stale.yaml index b98d6edde..01e578cc0 100644 --- a/.github/workflows/stale.yaml +++ b/.github/workflows/stale.yaml @@ -8,7 +8,7 @@ jobs: stale: runs-on: 'ubuntu-latest' steps: - - uses: 'actions/stale@v8' + - uses: 'actions/stale@v9' with: repo-token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/style.yaml b/.github/workflows/style.yaml index 29b0954d7..623f4e462 100644 --- a/.github/workflows/style.yaml +++ b/.github/workflows/style.yaml @@ -10,11 +10,11 @@ jobs: name: check goimports runs-on: ubuntu-latest steps: - - uses: actions/setup-go@v4 + - uses: actions/setup-go@v5 with: go-version: 1.19 check-latest: true - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: chainguard-dev/actions/goimports@5e21cb47971231c078a677dfe89a348371cb880c # main lint: @@ -22,8 +22,8 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-go@v4 + - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 with: go-version: 1.19 check-latest: true diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 721cce09e..05b3a0ed8 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -17,12 +17,12 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-go@v4 + - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 with: go-version: ${{ matrix.go-version }} check-latest: true - run: go test -coverprofile=coverage.txt -covermode=atomic -race ./... - - uses: codecov/codecov-action@v3.1.4 + - uses: codecov/codecov-action@v4.1.0