1515 os : [ubuntu-latest, macos-latest, windows-latest]
1616
1717 env :
18- CABAL_VERSION : " 3.10 .1.0"
18+ CABAL_VERSION : " 3.12 .1.0"
1919
2020 defaults :
2121 run :
5151 ghc-version : ${{ matrix.ghc }}
5252 cabal-version : ${{ env.CABAL_VERSION }}
5353
54- - uses : actions/checkout@v3
54+ - uses : actions/checkout@v4
5555
5656 - name : " Configure cabal.project.local"
5757 run : |
@@ -68,14 +68,14 @@ jobs:
6868 cat dist-newstyle/cache/plan.json | jq -r '."install-plan"[].id' | sort | uniq > dependencies.txt
6969 echo "weeknum=$(/bin/date -u "+%W")" >> $GITHUB_OUTPUT
7070
71- - uses : actions/cache@v3
71+ - uses : actions/cache@v4
7272 name : " Cache cabal store"
7373 with :
7474 path : ${{ runner.os == 'Windows' && steps.win-setup-haskell.outputs.cabal-store || steps.setup-haskell.outputs.cabal-store }}
7575 key : cache-dependencies-${{ env.CACHE_VERSION }}-${{ runner.os }}-${{ matrix.ghc }}-${{ hashFiles('dependencies.txt') }}
7676 restore-keys : cache-dependencies-${{ env.CACHE_VERSION }}-${{ runner.os }}-${{ matrix.ghc }}
7777
78- - uses : actions/cache@v3
78+ - uses : actions/cache@v4
7979 name : " Cache `dist-newstyle`"
8080 with :
8181 path : |
@@ -123,7 +123,7 @@ jobs:
123123 run : |
124124 echo "$HOME/.cabal/bin" >> $GITHUB_PATH
125125
126- - uses : actions/cache@v3
126+ - uses : actions/cache@v4
127127 name : " Cache `stylish-haskell`"
128128 with :
129129 path : ~/.cabal/bin/stylish-haskell
@@ -144,7 +144,7 @@ jobs:
144144 which stylish-haskell
145145 stylish-haskell --version
146146
147- - uses : actions/checkout@v2
147+ - uses : actions/checkout@v4
148148
149149 - name : " Run `stylish-haskell`"
150150 run : |
0 commit comments