From 4bdf60d556b0cda069f9d5f18324aba44033ea34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20L=C3=B3pez?= Date: Thu, 18 Apr 2024 18:02:46 -0300 Subject: [PATCH] ci: update external actions --- .github/workflows/build.yml | 6 +++--- .github/workflows/check-dependencies.yml | 2 +- .github/workflows/publish-docs.yml | 4 ++-- .github/workflows/release.yml | 10 +++++----- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 351309da6..957b77395 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 @@ -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' @@ -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: diff --git a/.github/workflows/check-dependencies.yml b/.github/workflows/check-dependencies.yml index 647323fe7..d9cb1bc94 100644 --- a/.github/workflows/check-dependencies.yml +++ b/.github/workflows/check-dependencies.yml @@ -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 diff --git a/.github/workflows/publish-docs.yml b/.github/workflows/publish-docs.yml index 4408a9358..60ca357aa 100644 --- a/.github/workflows/publish-docs.yml +++ b/.github/workflows/publish-docs.yml @@ -8,7 +8,7 @@ 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 @@ -16,7 +16,7 @@ jobs: 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 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cc5088130..c76c2da41 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 @@ -25,7 +25,7 @@ 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 @@ -33,11 +33,11 @@ jobs: 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