diff --git a/.github/workflows/prerelease.yml b/.github/workflows/prerelease.yml index dd821ba..9febfda 100644 --- a/.github/workflows/prerelease.yml +++ b/.github/workflows/prerelease.yml @@ -20,7 +20,7 @@ jobs: name: Run security checks via snyk runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Login to DockerHub uses: docker/login-action@v1 with: @@ -35,7 +35,7 @@ jobs: name: Run unit tests on *Nix runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Login to DockerHub uses: docker/login-action@v1 with: @@ -54,7 +54,7 @@ jobs: working-directory: src/github.com/${{env.ORIGINAL_REPO_NAME}} steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: path: src/github.com/${{env.ORIGINAL_REPO_NAME}} - name: Install Go @@ -75,7 +75,7 @@ jobs: working-directory: src/github.com/${{env.ORIGINAL_REPO_NAME}} steps: - name: Check out code - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: fetch-depth: 1 path: src/github.com/${{env.ORIGINAL_REPO_NAME}} @@ -97,7 +97,7 @@ jobs: GPG_PASSPHRASE: ${{ secrets.OHAI_GPG_PASSPHRASE }} GPG_PRIVATE_KEY_BASE64: ${{ secrets.OHAI_GPG_PRIVATE_KEY_BASE64 }} # base64 encoded steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Login to DockerHub uses: docker/login-action@v1 with: @@ -131,7 +131,7 @@ jobs: test-upgrade: [true,false] steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: path: src/github.com/${{env.ORIGINAL_REPO_NAME}} - name: Get PFX certificate from GH secrets diff --git a/.github/workflows/push_pr.yml b/.github/workflows/push_pr.yml index 818fe6c..c8685be 100644 --- a/.github/workflows/push_pr.yml +++ b/.github/workflows/push_pr.yml @@ -19,7 +19,7 @@ jobs: name: Run all static analysis checks runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: newrelic/newrelic-infra-checkers@v1 - name: Semgrep uses: returntocorp/semgrep-action@v1 @@ -43,7 +43,7 @@ jobs: env: SNYK_TOKEN: ${{ secrets.CAOS_SNYK_TOKEN }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Login to DockerHub if: ${{env.DOCKER_LOGIN_AVAILABLE}} uses: docker/login-action@v1 @@ -58,7 +58,7 @@ jobs: name: Run unit tests on *Nix runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Login to DockerHub if: ${{env.DOCKER_LOGIN_AVAILABLE}} uses: docker/login-action@v1 @@ -78,7 +78,7 @@ jobs: working-directory: src/github.com/${{ env.ORIGINAL_REPO_NAME }} steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: path: src/github.com/${{env.ORIGINAL_REPO_NAME}} - name: Install Go @@ -99,7 +99,7 @@ jobs: working-directory: src/github.com/${{env.ORIGINAL_REPO_NAME}} steps: - name: Check out code - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: fetch-depth: 1 path: src/github.com/${{env.ORIGINAL_REPO_NAME}} @@ -122,7 +122,7 @@ jobs: name: Test binary compilation for all platforms:arch runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Login to DockerHub if: ${{env.DOCKER_LOGIN_AVAILABLE}} uses: docker/login-action@v1 diff --git a/.github/workflows/repolinter.yml b/.github/workflows/repolinter.yml index acb921f..8c14aba 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@v2 + uses: actions/checkout@v4 - name: Run Repolinter if: ${{ steps.default-branch.outputs.result == 'true' }} uses: newrelic/repolinter-action@v1