diff --git a/.github/workflows/on_prerelease.yml b/.github/workflows/on_prerelease.yml index a436fd34..e70d5a4d 100644 --- a/.github/workflows/on_prerelease.yml +++ b/.github/workflows/on_prerelease.yml @@ -22,7 +22,7 @@ jobs: name: Run unit tests on *Nix runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Login to DockerHub uses: docker/login-action@v2 with: @@ -40,7 +40,7 @@ jobs: run: working-directory: src/github.com/${{env.ORIGINAL_REPO_NAME}} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: path: src/github.com/${{env.ORIGINAL_REPO_NAME}} - name: Install Go @@ -57,7 +57,7 @@ jobs: runs-on: ubuntu-20.04 needs: [test-nix, test-windows, test-integration-nix] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Login to DockerHub uses: docker/login-action@v2 with: @@ -93,7 +93,7 @@ jobs: test-upgrade: [true,false] steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: src/github.com/${{env.ORIGINAL_REPO_NAME}} - name: Get PFX certificate from GH secrets @@ -138,7 +138,7 @@ jobs: working-directory: src/github.com/${{env.ORIGINAL_REPO_NAME}} steps: - name: Check out code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 1 path: src/github.com/${{env.ORIGINAL_REPO_NAME}} @@ -196,7 +196,7 @@ jobs: name: Build and push consumer-producer image to use in our canaries runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: path: src/github.com/${{ env.ORIGINAL_REPO_NAME }} - uses: docker/setup-buildx-action@v2 diff --git a/.github/workflows/push_pr.yml b/.github/workflows/push_pr.yml index 70844321..659712a6 100644 --- a/.github/workflows/push_pr.yml +++ b/.github/workflows/push_pr.yml @@ -20,7 +20,7 @@ jobs: name: Run all static analysis checks runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-go@v4 with: go-version-file: 'go.mod' @@ -43,7 +43,7 @@ jobs: name: Run unit tests on *Nix runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Login to DockerHub if: ${{env.DOCKER_LOGIN_AVAILABLE}} uses: docker/login-action@v2 @@ -62,7 +62,7 @@ jobs: run: working-directory: src/github.com/${{ env.ORIGINAL_REPO_NAME }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: path: src/github.com/${{env.ORIGINAL_REPO_NAME}} - name: Install Go @@ -83,7 +83,7 @@ jobs: working-directory: src/github.com/${{env.ORIGINAL_REPO_NAME}} steps: - name: Check out code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 1 path: src/github.com/${{env.ORIGINAL_REPO_NAME}} @@ -100,7 +100,7 @@ jobs: name: Test binary compilation for all platforms:arch runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Login to DockerHub if: ${{env.DOCKER_LOGIN_AVAILABLE}} uses: docker/login-action@v2 diff --git a/.github/workflows/repolinter.yml b/.github/workflows/repolinter.yml index 886219db..8c14aba8 100644 --- a/.github/workflows/repolinter.yml +++ b/.github/workflows/repolinter.yml @@ -22,7 +22,7 @@ jobs: return data.data && data.data.default_branch === context.ref.split('/').slice(-1)[0] - name: Checkout Self if: ${{ steps.default-branch.outputs.result == 'true' }} - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Run Repolinter if: ${{ steps.default-branch.outputs.result == 'true' }} uses: newrelic/repolinter-action@v1 diff --git a/.github/workflows/security.yml b/.github/workflows/security.yml index bfe8dd0e..f3c8f70f 100644 --- a/.github/workflows/security.yml +++ b/.github/workflows/security.yml @@ -16,7 +16,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Run Trivy vulnerability scanner in repo mode uses: aquasecurity/trivy-action@0.12.0