Skip to content

Commit

Permalink
chore: Update workflow actions/checkout to v4
Browse files Browse the repository at this point in the history
Saw this warning in the push-dev-image action:

Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
MonkeyDo authored and amCap1712 committed Jan 29, 2024
1 parent b71f653 commit 592e8b0
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-prod-image.yml
Original file line number Diff line number Diff line change
@@ -28,7 +28,7 @@ jobs:
if: github.event.pull_request.draft == false

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Login to Docker Hub
run: echo ${{ secrets.DOCKER_HUB_PASSWORD }} | docker login -u ${{ secrets.DOCKER_HUB_USERNAME }} --password-stdin
2 changes: 1 addition & 1 deletion .github/workflows/frontend-tests.yml
Original file line number Diff line number Diff line change
@@ -29,7 +29,7 @@ jobs:
if: github.event.pull_request.draft == false

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Login to Docker Hub
run: echo ${{ secrets.DOCKER_HUB_PASSWORD }} | docker login -u ${{ secrets.DOCKER_HUB_USERNAME }} --password-stdin
4 changes: 2 additions & 2 deletions .github/workflows/push-dev-image.yml
Original file line number Diff line number Diff line change
@@ -22,12 +22,12 @@ jobs:

steps:
# Run only if we are deploying a branch or tag from this repo
- uses: actions/checkout@v3
- uses: actions/checkout@v4
# empty strings evaluate to 0
if: ${{ github.event.inputs.pr == 0}}

# Run only if we are deploying a PR (may be in a forked repo)
- uses: actions/checkout@v3
- uses: actions/checkout@v4
if: ${{ github.event.inputs.pr != 0}}
with:
ref: ${{ format('refs/pull/{0}/head', github.event.inputs.pr) }}
2 changes: 1 addition & 1 deletion .github/workflows/spark-tests.yml
Original file line number Diff line number Diff line change
@@ -27,7 +27,7 @@ jobs:
if: github.event.pull_request.draft == false

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Login to Docker Hub
run: echo ${{ secrets.DOCKER_HUB_PASSWORD }} | docker login -u ${{ secrets.DOCKER_HUB_USERNAME }} --password-stdin
2 changes: 1 addition & 1 deletion .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
@@ -34,7 +34,7 @@ jobs:
if: github.event.pull_request.draft == false

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Create configuration file
run: cp listenbrainz/config.py.sample listenbrainz/config.py

0 comments on commit 592e8b0

Please sign in to comment.