Skip to content

Commit

Permalink
[Chore] Update "actions/{checkout,upload-artifact}" (#293)
Browse files Browse the repository at this point in the history
Problem: node16 is now deprecated and github-runner provided by nixpkgs
no longer supports this runtime. However,
"actions/{checkout,upload-artifact}@V3" uses this runtime.

Solution: Update CI pipeline to use "actions/{checkout,upload-artifact}@v4".
  • Loading branch information
rvem authored Dec 18, 2023
1 parent e16d31f commit 59f4fa3
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/autorelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
release:
runs-on: [self-hosted, nix]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Create a pre-release
env:
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
validate:
runs-on: [self-hosted, nix]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: reuse
run: nix build -L .#checks.x86_64-linux.reuse-lint
Expand Down Expand Up @@ -49,7 +49,7 @@ jobs:
- ghc: "9.0.2"
stackyaml: stack.yaml
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: 'true'

Expand Down Expand Up @@ -109,7 +109,7 @@ jobs:
xrefcheck-build-and-test-nix:
runs-on: [self-hosted, nix]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true

Expand All @@ -128,7 +128,7 @@ jobs:
echo "WINDOWS_BINARY_PATH=$(readlink -f result)" >> $GITHUB_ENV
- name: Upload windows executable
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: xrefcheck-windows
path: ${{ env.WINDOWS_BINARY_PATH }}/bin/*
Expand All @@ -142,7 +142,7 @@ jobs:
echo "STATIC_BINARY_PATH=$(readlink -f result)" >> $GITHUB_ENV
- name: Upload static binary
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: xrefcheck-static
path: ${{ env.STATIC_BINARY_PATH }}/bin/xrefcheck
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/danger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
run-danger-checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: ruby/setup-ruby@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dockerhub-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
dockerhub-release:
runs-on: [self-hosted, nix]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Push release image to dockerhub
run: |
Expand Down

0 comments on commit 59f4fa3

Please sign in to comment.