Use latest versions of GitHub actions

This commit is contained in:
Mark Karpov 2020-11-24 16:11:44 +01:00
parent b7b6315390
commit a8dd0e9c41
No known key found for this signature in database
GPG Key ID: 8564658B2889FF7C

View File

@ -11,7 +11,7 @@ jobs:
ormolu:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v2.3.4
- uses: mrkkrp/ormolu-action@v1
build:
runs-on: ubuntu-latest
@ -23,15 +23,15 @@ jobs:
env:
CONFIG: "--enable-tests --enable-benchmarks --flags=dev"
steps:
- uses: actions/checkout@v2
- uses: actions/setup-haskell@v1.1.2
- uses: actions/checkout@v2.3.4
- uses: actions/setup-haskell@v1.1.4
id: setup-haskell-cabal
with:
ghc-version: ${{ matrix.ghc }}
cabal-version: ${{ matrix.cabal }}
- run: cabal v2-update
- run: cabal v2-freeze $CONFIG
- uses: actions/cache@v2
- uses: actions/cache@v2.1.3
with:
path: |
${{ steps.setup-haskell-cabal.outputs.cabal-store }}