Skip to content

Commit

Permalink
Updated versions of github actions
Browse files Browse the repository at this point in the history
- `actions/checkout@v3`
- `actions/cache@v3`
  • Loading branch information
coot committed Sep 19, 2022
1 parent 658395a commit 9a8b959
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- name: "LINUX: Setup haskell"
if: runner.os != 'Windows'
uses: haskell/actions/setup@v1
uses: haskell/actions/setup@v2
id: setup-haskell
with:
ghc-version: ${{ matrix.ghc }}
Expand Down Expand Up @@ -111,7 +111,7 @@ jobs:
$CI_SECP_INSTALL_CMD make install
)
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Update Hackage index
run: cabal update
Expand Down Expand Up @@ -146,14 +146,14 @@ jobs:
cat dist-newstyle/cache/plan.json | jq -r '."install-plan"[].id' | sort | uniq > dependencies.txt
echo "::set-output name=weeknum::$(/bin/date -u "+%W")"
- uses: actions/cache@v2
- uses: actions/cache@v3
name: "Cache `cabal store`"
with:
path: ${{ runner.os == 'Windows' && steps.win-setup-haskell.outputs.cabal-store || steps.setup-haskell.outputs.cabal-store }}
key: cache-dependencies-${{ env.CACHE_VERSION }}-${{ runner.os }}-${{ matrix.ghc }}-${{ hashFiles('dependencies.txt') }}
restore-keys: cache-dependencies-${{ env.CACHE_VERSION }}-${{ runner.os }}-${{ matrix.ghc }}

- uses: actions/cache@v2
- uses: actions/cache@v3
name: "Cache `dist-newstyle`"
with:
path: |
Expand Down

0 comments on commit 9a8b959

Please sign in to comment.