Skip to content

Commit

Permalink
CI: bump GHC 9.6 to 9.6.4 and actions/cache to v4
Browse files Browse the repository at this point in the history
Also drop special runs on ci-* and release-* branches.
Always go through PRs.
  • Loading branch information
andreasabel committed Jan 27, 2024
1 parent d26bd80 commit f09ca7c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 12 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/haskell-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,18 @@
#
# For more information, see https://github.com/andreasabel/haskell-ci
#
# version: 0.17.20231112
# version: 0.17.20240127
#
# REGENDATA ("0.17.20231112",["github","alex.cabal"])
# REGENDATA ("0.17.20240127",["github","alex.cabal"])
#
name: Haskell-CI
on:
push:
branches:
- master
- ci-*
- release-*
pull_request:
branches:
- master
- ci-*
- release-*
jobs:
linux:
name: Haskell-CI - Linux - ${{ matrix.compiler }}
Expand All @@ -41,9 +37,9 @@ jobs:
compilerVersion: 9.8.1
setup-method: ghcup
allow-failure: false
- compiler: ghc-9.6.3
- compiler: ghc-9.6.4
compilerKind: ghc
compilerVersion: 9.6.3
compilerVersion: 9.6.4
setup-method: ghcup
allow-failure: false
- compiler: ghc-9.4.8
Expand Down Expand Up @@ -225,7 +221,7 @@ jobs:
$CABAL v2-build $ARG_COMPILER $ARG_TESTS $ARG_BENCH --dry-run all
cabal-plan
- name: restore cache
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
with:
key: ${{ runner.os }}-${{ matrix.compiler }}-${{ github.sha }}
path: ~/.cabal/store
Expand Down Expand Up @@ -261,7 +257,7 @@ jobs:
rm -f cabal.project.local
$CABAL v2-build $ARG_COMPILER --disable-tests --disable-benchmarks all
- name: save cache
uses: actions/cache/save@v3
uses: actions/cache/save@v4
if: always()
with:
key: ${{ runner.os }}-${{ matrix.compiler }}-${{ github.sha }}
Expand Down
2 changes: 1 addition & 1 deletion alex.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ build-type: Simple

tested-with:
GHC == 9.8.1
GHC == 9.6.3
GHC == 9.6.4
GHC == 9.4.8
GHC == 9.2.8
GHC == 9.0.2
Expand Down
2 changes: 1 addition & 1 deletion cabal.haskell-ci
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
branches: master ci-* release-*
branches: master

-- -- For bootstrapping:
-- apt: alex happy
Expand Down

0 comments on commit f09ca7c

Please sign in to comment.