diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5dc3575..9bf2e7a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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') }} @@ -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 }} @@ -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') }} @@ -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: | @@ -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: | @@ -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') }} @@ -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: |