Skip to content

Commit

Permalink
CI: use checkout@v4 and cache@v4
Browse files Browse the repository at this point in the history
  • Loading branch information
jgm committed Sep 10, 2024
1 parent afbea71 commit e959d9e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- ghc: '9.10'
cabal: 'latest'
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4

- name: Install ghc/cabal
run: |
Expand All @@ -34,15 +34,15 @@ jobs:
- name: Cache cabal global package db
id: cabal-global
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: |
~/.cabal
key: ${{ runner.os }}-${{ matrix.versions.ghc }}-${{ matrix.versions.cabal }}-cabal-global-${{ secrets.CACHE_VERSION }}

- name: Cache cabal work
id: cabal-local
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: |
dist-newstyle
Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:
runs-on: windows-latest

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Install stack
shell: cmd
run: |
Expand Down

0 comments on commit e959d9e

Please sign in to comment.