Skip to content

Commit

Permalink
Bump GHA actions versions (#81)
Browse files Browse the repository at this point in the history
  • Loading branch information
martijnbastiaan authored Apr 15, 2024
1 parent ade655c commit ff49b4e
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,16 @@ jobs:
fail-fast: false
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Haskell
uses: haskell/actions/setup@v2
uses: haskell-actions/setup@v2.7.0
id: setup-haskell
with:
enable-stack: true

- name: Cache dependencies
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ steps.setup-haskell.outputs.stack-root }}/snapshots
key: ${{ runner.os }}-ghc-${{ matrix.resolver }}-${{ hashFiles('doctest-parallel.cabal') }}
Expand Down Expand Up @@ -77,11 +77,11 @@ jobs:
fail-fast: false
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Haskell
if: matrix.ghc != 'head'
uses: haskell/actions/setup@v2
uses: haskell-actions/setup@v2.7.0
id: setup-haskell
with:
ghc-version: ${{ matrix.ghc }}
Expand All @@ -104,7 +104,7 @@ jobs:
mv cabal.project.freeze frozen
- name: Cache dependencies
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ steps.setup-haskell.outputs.cabal-store || steps.setup-haskell-head.outputs.cabal-store }}
key: ${{ runner.os }}-ghc-${{ matrix.ghc }}-${{ hashFiles('frozen') }}
Expand Down Expand Up @@ -135,8 +135,8 @@ jobs:
nix:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v18
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v26
with:
nix_path: nixpkgs=channel:nixos-unstable
- run: |
Expand All @@ -158,7 +158,7 @@ jobs:
- {ghc: "9.6.2", cabal: "3.10.1.0", hls: "2.0.0.1", ghcup: "0.1.19.4"}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Haskell
run: |
Expand Down Expand Up @@ -186,7 +186,7 @@ jobs:
mv cabal.project.freeze frozen
- name: Cache dependencies
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: $HOME/.cabal/store
key: ${{ runner.os }}-cachebust1-hls-${{ matrix.tools.ghc }}-${{ matrix.tools.cabal }}-${{ matrix.tools.hls }}-${{ matrix.tools.ghcup }}-${{ hashFiles('frozen') }}
Expand Down Expand Up @@ -217,7 +217,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Check dependencies for failures
run: |
Expand Down

0 comments on commit ff49b4e

Please sign in to comment.