Skip to content

Commit

Permalink
ci: update actions
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
favna committed Jan 2, 2024
1 parent 148b926 commit 7a68bb9
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/auto-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
steps:

- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Fetch Pull Request Details
id: pull_request
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dependency-deprecation-reminder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: develop

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-reminder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/synchronize-labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
12 changes: 6 additions & 6 deletions .github/workflows/test-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -32,7 +32,7 @@ jobs:
needs: unit
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Set Matrix
id: set-matrix
Expand All @@ -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

Expand Down Expand Up @@ -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 }}

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/update-github-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7a68bb9

Please sign in to comment.