Skip to content

Commit

Permalink
Merge pull request #488 from elopez/dev-resolve-ci-warnings
Browse files Browse the repository at this point in the history
ci: update external actions
  • Loading branch information
arcz authored May 7, 2024
2 parents 8f06c52 + 4bdf60d commit 0d0714d
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- name: build hevm
run: nix build .#ci -L
- name: Upload artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: hevm-${{ matrix.runtime }}
path: result/bin/hevm
Expand Down Expand Up @@ -85,7 +85,7 @@ jobs:
autotools:p
gmp:p
openssl:p
- uses: haskell-actions/setup@v2.6.1
- uses: haskell-actions/setup@v2.7.0
id: setup
with:
ghc-version: '9.4.7'
Expand Down Expand Up @@ -130,7 +130,7 @@ jobs:
# Cache dependencies already, so that we do not have to rebuild them should the subsequent steps fail.
- name: Save cached dependencies
uses: actions/cache/save@v3
uses: actions/cache/save@v4
# Caches are immutable, trying to save with the same key would error.
if: ${{ steps.cache.outputs.cache-primary-key != steps.cache.outputs.cache-matched-key }}
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- name: lookup nix versions
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main

- name: build docs
run: nix-shell --pure --command "cd doc && mdbook build"

- name: publish docs
uses: JamesIves/github-pages-deploy-action@v4.4.1
uses: JamesIves/github-pages-deploy-action@v4.6.0
with:
branch: gh-pages
folder: doc/book
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ jobs:
name: Build MacOS Binary
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- name: build hevm
run: |
nix build .#redistributable --out-link hevmMacos
cp ./hevmMacos/bin/hevm ./hevm-x86_64-macos
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: hevm-x86_64-macos
path: ./hevm-x86_64-macos
Expand All @@ -25,19 +25,19 @@ jobs:
needs: macosRelease
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- name: build hevm
run: |
nix build .#redistributable --out-link hevmLinux
cp ./hevmLinux/bin/hevm ./hevm-x86_64-linux
- name: download macos binary
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: hevm-x86_64-macos
- name: create github release & upload binaries
uses: softprops/action-gh-release@v0.1.15
uses: softprops/action-gh-release@v2.0.4
with:
files: |
./hevm-x86_64-linux
Expand Down

0 comments on commit 0d0714d

Please sign in to comment.