Skip to content

Commit

Permalink
CI: update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
LaurentRDC committed Sep 27, 2024
1 parent 7e49525 commit 58c901f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
runs-on: ${{ matrix.os }}

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

- name: Install cabal/ghc
uses: haskell-actions/setup@v2
Expand Down Expand Up @@ -58,7 +58,7 @@ jobs:
cabal user-config update -f -a "executable-stripping: True"
- name: Cache cabal work
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
dist-newstyle
Expand All @@ -73,13 +73,13 @@ jobs:
cabal build --enable-tests || \
cabal build --enable-tests -j1
- uses: actions/setup-python@v2
- uses: actions/setup-python@v5
with:
python-version: '3.9'

- uses: r-lib/actions/setup-r@v2

- uses: actions/cache@v2
- uses: actions/cache@v4
name: Cache Python build artifacts
with:
path: ~/.cache/pip
Expand Down Expand Up @@ -273,7 +273,7 @@ jobs:
needs: [build-and-test]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- uses: actions/download-artifact@v4

Expand Down Expand Up @@ -309,7 +309,7 @@ jobs:
# needs: [release]
# runs-on: windows-latest
# steps:
# - uses: actions/checkout@v2
# - uses: actions/checkout@v4

# - uses: actions/download-artifact@v4

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest

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

- name: Install cabal/ghc
uses: haskell/actions/setup@v1
Expand All @@ -37,19 +37,19 @@ jobs:
cabal user-config update -f -a "split-sections: True"
cabal user-config update -f -a "executable-stripping: True"
- uses: actions/setup-python@v2
- uses: actions/setup-python@v5
with:
python-version: '3.10'

- name: Cache cabal work
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: |
dist-newstyle
${{ steps.setup-haskell.outputs.cabal-store }}
key: ${{ runner.os }}-${{ hashFiles('cabal.project.freeze') }}-cabal-install-v2

- uses: actions/cache@v3
- uses: actions/checkout@v4
name: Cache Python build artifacts
with:
path: ~/.cache/pip
Expand Down

0 comments on commit 58c901f

Please sign in to comment.