Skip to content

Commit

Permalink
Bump actions/checkout and actions/cache to v4
Browse files Browse the repository at this point in the history
The checkout and cache actions in the GitHub actions
workflow file are using v2 actions which use Node12,
which is deprecated.
  • Loading branch information
BinderDavid authored and jgm committed Jun 18, 2024
1 parent 2e9d498 commit dddc604
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
cabalopts: '-f-doctests --write-ghc-environment-files=always'
testopts: '--test-option=--hide-successes'
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

# needed by memory
- name: Install numa
Expand All @@ -81,7 +81,7 @@ jobs:

- name: Cache cabal global package db
id: cabal-global
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: |
~/.cabal
Expand All @@ -104,11 +104,11 @@ jobs:
runs-on: windows-2019

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Cache stack global package db
id: stack-global-package-db
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: |
C:\Users\runneradmin\AppData\Roaming\stack\
Expand All @@ -134,7 +134,7 @@ jobs:
cabal: '3.10'

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Install ghc/cabal
run: |
Expand All @@ -143,7 +143,7 @@ jobs:
- name: Cache cabal global package db
id: cabal-global
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: |
~/.cabal
Expand Down Expand Up @@ -171,7 +171,7 @@ jobs:
- ghc: '9.6'
cabal: '3.10'
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Install icu
run: sudo apt-get install libicu-dev
Expand All @@ -183,7 +183,7 @@ jobs:
- name: Cache cabal global package db
id: cabal-global
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: |
~/.cabal
Expand Down

0 comments on commit dddc604

Please sign in to comment.