From 7a68bb9f8517e7db1a56291ea8b107ab8820af5b Mon Sep 17 00:00:00 2001 From: Jeroen Claassens Date: Tue, 12 Dec 2023 11:58:38 +0100 Subject: [PATCH] ci: update actions Working on my other PR (#679) I noticed the `actions/checkout` and `actions/setup-go` this repository uses are using older version. This PR updates them. --- .github/workflows/auto-merge.yml | 2 +- .../workflows/dependency-deprecation-reminder.yml | 2 +- .github/workflows/release-reminder.yml | 2 +- .github/workflows/synchronize-labels.yml | 2 +- .github/workflows/test-pull-request.yml | 12 ++++++------ .github/workflows/update-github-config.yml | 4 ++-- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/auto-merge.yml b/.github/workflows/auto-merge.yml index 89c9396d1..d0ce101db 100644 --- a/.github/workflows/auto-merge.yml +++ b/.github/workflows/auto-merge.yml @@ -13,7 +13,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Fetch Pull Request Details id: pull_request diff --git a/.github/workflows/dependency-deprecation-reminder.yml b/.github/workflows/dependency-deprecation-reminder.yml index ecfb7049b..aa78ae5f0 100644 --- a/.github/workflows/dependency-deprecation-reminder.yml +++ b/.github/workflows/dependency-deprecation-reminder.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-22.04 steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: develop diff --git a/.github/workflows/release-reminder.yml b/.github/workflows/release-reminder.yml index ffddfc9b7..7c38a79fc 100644 --- a/.github/workflows/release-reminder.yml +++ b/.github/workflows/release-reminder.yml @@ -16,7 +16,7 @@ jobs: echo "month=$(date +%b)" >> "${GITHUB_OUTPUT}" - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: token: ${{ secrets.CF_BOT_GITHUB_TOKEN }} ref: develop diff --git a/.github/workflows/synchronize-labels.yml b/.github/workflows/synchronize-labels.yml index df45d3c5a..bb7f38eb7 100644 --- a/.github/workflows/synchronize-labels.yml +++ b/.github/workflows/synchronize-labels.yml @@ -13,7 +13,7 @@ jobs: runs-on: - ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: micnncim/action-label-syncer@v1 env: GITHUB_TOKEN: ${{ github.token }} diff --git a/.github/workflows/test-pull-request.yml b/.github/workflows/test-pull-request.yml index cd8a73ee2..db53121a4 100644 --- a/.github/workflows/test-pull-request.yml +++ b/.github/workflows/test-pull-request.yml @@ -12,12 +12,12 @@ jobs: steps: - name: Setup Go - uses: actions/setup-go@v1 + uses: actions/setup-go@v4 with: go-version: 1.19.x - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - run: git fetch --depth=1 origin +refs/tags/*:refs/tags/* || true @@ -32,7 +32,7 @@ jobs: needs: unit steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Set Matrix id: set-matrix @@ -51,12 +51,12 @@ jobs: steps: - name: Setup Go - uses: actions/setup-go@v1 + uses: actions/setup-go@v4 with: go-version: 1.19.x - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - run: git fetch --depth=1 origin +refs/tags/*:refs/tags/* || true @@ -112,7 +112,7 @@ jobs: - name: Checkout if: steps.human-commits.outputs.human_commits == 'false' && steps.unverified-commits.outputs.unverified_commits == 'false' - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: ref: ${{ github.event.pull_request.head.sha }} diff --git a/.github/workflows/update-github-config.yml b/.github/workflows/update-github-config.yml index 1b27dd68b..042e61a91 100644 --- a/.github/workflows/update-github-config.yml +++ b/.github/workflows/update-github-config.yml @@ -12,13 +12,13 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: token: ${{ secrets.CF_BOT_GITHUB_TOKEN }} ref: develop - name: Checkout github-config - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: repository: cloudfoundry/buildpacks-github-config path: github-config