Skip to content

Commit

Permalink
GitHub Actions: update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
msakai committed May 20, 2024
1 parent 1c40c36 commit 41a4e57
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,11 @@ jobs:
coveralls: false
release: true
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
submodules: true

- uses: haskell/actions/setup@v1
- uses: haskell/actions/setup@v2
id: setup-haskell
name: Setup Haskell
with:
Expand All @@ -87,7 +87,7 @@ jobs:
sudo apt-get update
sudo apt-get install ocl-icd-opencl-dev
- uses: actions/cache@v3
- uses: actions/cache@v4
name: Cache ~/.stack
with:
path: ${{ steps.setup-haskell.outputs.stack-root }}
Expand Down Expand Up @@ -145,7 +145,7 @@ jobs:
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
run: |
curl -L https://github.com/lehins/stack-hpc-coveralls/releases/download/v0.0.6.0/shc.tar.gz | tar -xz
curl -L https://github.com/rubik/stack-hpc-coveralls/releases/download/v0.0.7.0/shc-Linux-X64.tar.bz2 | tar -xj
./shc --repo-token="$COVERALLS_REPO_TOKEN" toysolver TestSuite TestPolynomial
- name: Test scripts
Expand All @@ -156,7 +156,7 @@ jobs:
run: stack runhaskell ${{ matrix.stack_args }} --package turtle misc/build_artifacts.hs

- name: Upload artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: binary-packages
path: |
Expand All @@ -170,11 +170,11 @@ jobs:
if: startsWith(github.ref, 'refs/tags')
needs: build
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
submodules: true

- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v4
with:
name: binary-packages
path: binary-packages
Expand Down

0 comments on commit 41a4e57

Please sign in to comment.