ci: Update versions of actions

This commit is contained in:
Richard Marko 2022-04-23 16:37:23 +02:00
parent 79773c7150
commit 358112c51f

View File

@ -2,9 +2,9 @@ jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: "actions/checkout@v1" - uses: "actions/checkout@v3"
- id: setup-haskell-cabal - id: setup-haskell-cabal
uses: "haskell/actions/setup@v1.2" uses: "haskell/actions/setup@v2"
with: with:
cabal-version: "${{ matrix.cabal }}" cabal-version: "${{ matrix.cabal }}"
enable-stack: false enable-stack: false
@ -18,7 +18,7 @@ jobs:
fi fi
- name: freeze - name: freeze
run: cabal freeze run: cabal freeze
- uses: "actions/cache@v2" - uses: "actions/cache@v3"
with: with:
key: "${{ runner.os }}-${{ matrix.ghc }}-cabal-${{ hashFiles('cabal.project.freeze') }}" key: "${{ runner.os }}-${{ matrix.ghc }}-cabal-${{ hashFiles('cabal.project.freeze') }}"
path: | path: |