diff --git a/.github/workflows/benchmark.yaml b/.github/workflows/benchmark.yaml index b03f4c7f8..bbd163907 100644 --- a/.github/workflows/benchmark.yaml +++ b/.github/workflows/benchmark.yaml @@ -29,7 +29,7 @@ jobs: ] runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: # We need to get all the git tags to make version injection work. See VERSION in Makefile for more detail. fetch-depth: 0 diff --git a/.github/workflows/build-and-test-pkg.yaml b/.github/workflows/build-and-test-pkg.yaml index 93342a520..473406989 100644 --- a/.github/workflows/build-and-test-pkg.yaml +++ b/.github/workflows/build-and-test-pkg.yaml @@ -41,7 +41,7 @@ jobs: runs-on: [self-hosted, macos, arm64, 11, release] timeout-minutes: 60 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: ${{ needs.get-tag-name.outputs.tag }} fetch-depth: 0 @@ -79,7 +79,7 @@ jobs: runs-on: [self-hosted, macos, amd64, 11, release] timeout-minutes: 60 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: ${{ needs.get-tag-name.outputs.tag }} fetch-depth: 0 @@ -130,7 +130,7 @@ jobs: ACCESS_TOKEN: ${{ secrets.FINCH_BOT_TOKEN }} steps: - name: Checkout the tag - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: ${{ needs.get-tag-name.outputs.tag }} fetch-depth: 0 @@ -241,7 +241,7 @@ jobs: ACCESS_TOKEN: ${{ secrets.FINCH_BOT_TOKEN }} steps: - name: Checkout the tag - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: ${{ needs.get-tag-name.outputs.tag }} fetch-depth: 0 diff --git a/.github/workflows/ci-docs.yaml b/.github/workflows/ci-docs.yaml index efbc5ad43..39d278eeb 100644 --- a/.github/workflows/ci-docs.yaml +++ b/.github/workflows/ci-docs.yaml @@ -72,7 +72,7 @@ jobs: mdlint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: avto-dev/markdown-lint@v1 with: args: '**/*.md' diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index acb09d092..ea92acc71 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -28,7 +28,7 @@ jobs: gen-code-no-diff: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-go@v4 with: go-version-file: go.mod @@ -38,7 +38,7 @@ jobs: unit-tests: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-go@v4 with: # Since this repository is not meant to be used as a library, @@ -50,7 +50,7 @@ jobs: go-linter: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-go@v4 with: go-version-file: go.mod @@ -67,7 +67,7 @@ jobs: name: ShellCheck runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Run ShellCheck uses: ludeeus/action-shellcheck@2.0.0 with: @@ -76,7 +76,7 @@ jobs: go-mod-tidy-check: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-go@v4 with: go-version-file: go.mod @@ -87,7 +87,7 @@ jobs: check-licenses: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-go@v4 with: go-version-file: go.mod @@ -106,7 +106,7 @@ jobs: ] runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: # We need to get all the git tags to make version injection work. See VERSION in Makefile for more detail. fetch-depth: 0 @@ -152,7 +152,7 @@ jobs: mdlint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: avto-dev/markdown-lint@v1 with: args: '**/*.md' diff --git a/.github/workflows/release-automation.yaml b/.github/workflows/release-automation.yaml index f6f927f12..80d925d95 100644 --- a/.github/workflows/release-automation.yaml +++ b/.github/workflows/release-automation.yaml @@ -12,7 +12,7 @@ jobs: outputs: tag: ${{ steps.latest-tag.outputs.tag }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: 'Get the latest tag' diff --git a/.github/workflows/release-homebrew.yaml b/.github/workflows/release-homebrew.yaml index 92b5bded0..221075e42 100644 --- a/.github/workflows/release-homebrew.yaml +++ b/.github/workflows/release-homebrew.yaml @@ -13,7 +13,7 @@ jobs: tag: ${{ steps.latesttag.outputs.tag }} version: ${{ steps.latestversion.outputs.version }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: 'Get the latest tag' @@ -53,7 +53,7 @@ jobs: FINCH_TAG: ${{ needs.get-latest-tag.outputs.tag }} FINCH_VERSION: ${{ needs.get-latest-tag.outputs.version }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: ${{ env.FINCH_TAG }} fetch-depth: 0 @@ -176,7 +176,7 @@ jobs: FINCH_TAG: ${{ needs.get-latest-tag.outputs.tag }} FINCH_VERSION: ${{ needs.get-latest-tag.outputs.version }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: ${{ env.FINCH_TAG }} fetch-depth: 0 diff --git a/.github/workflows/sync-submodules-and-deps.yaml b/.github/workflows/sync-submodules-and-deps.yaml index b03058553..b77ff59df 100644 --- a/.github/workflows/sync-submodules-and-deps.yaml +++ b/.github/workflows/sync-submodules-and-deps.yaml @@ -18,7 +18,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: submodules: recursive token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/upload-build-to-S3.yaml b/.github/workflows/upload-build-to-S3.yaml index 38eb2a0bb..f5930266d 100644 --- a/.github/workflows/upload-build-to-S3.yaml +++ b/.github/workflows/upload-build-to-S3.yaml @@ -16,7 +16,7 @@ jobs: runs-on: [self-hosted, macos, arm64, 11, release] timeout-minutes: 60 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 persist-credentials: false @@ -46,7 +46,7 @@ jobs: runs-on: [self-hosted, macos, amd64, 11, release] timeout-minutes: 60 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 persist-credentials: false @@ -79,7 +79,7 @@ jobs: - macos-x86_64-build - macos-aarch64-build steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 persist-credentials: false