Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump CI #18

Merged
merged 1 commit into from
Oct 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Set up HLint
uses: haskell/actions/hlint-setup@v2
with:
version: "3.5"
version: "3.6.1"
- name: Apply HLint
run: |
set -ex
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ on:
- master
workflow_dispatch:

# As of 7 April 2023, ubuntu-latest, windows-latest and macos-latest come with
# Stack 2.9.3.
# As of 7 October 2023, ubuntu-latest and windows-latest come with Stack 2.13.1.
# macos-latest comes with Stack 2.9.3.

jobs:
tests:
Expand All @@ -21,13 +21,13 @@ jobs:
- ubuntu-latest
- windows-latest
- macos-latest
stack-yaml:
resolver:
- stack-ghc-8.8.4.yaml
- stack-ghc-8.10.7.yaml
- stack-ghc-9.0.2.yaml
- stack-ghc-9.2.7.yaml
- stack-ghc-9.4.5.yaml
- stack-ghc-9.6.1.yaml
- stack-ghc-9.2.8.yaml
- stack-ghc-9.4.7.yaml
- stack-ghc-9.6.3.yaml
steps:
- name: Clone project
uses: actions/checkout@v3
Expand All @@ -36,18 +36,18 @@ jobs:
uses: actions/cache@v3
with:
path: ~/.stack
key: ${{ runner.os }}-${{ hashFiles( matrix.stack-yaml ) }}
key: ${{ runner.os }}-${{ hashFiles( matrix.resolver ) }}
- name: Cache dependencies on Windows
if: startsWith(runner.os, 'Windows')
uses: actions/cache@v3
with:
path: |
~\AppData\Roaming\stack
~\AppData\Local\Programs\stack
key: ${{ runner.os }}-${{ hashFiles( matrix.stack-yaml ) }}
key: ${{ runner.os }}-${{ hashFiles( matrix.resolver ) }}
- name: Test
shell: bash
run: |
set -ex
stack --stack-yaml=${{ matrix.stack-yaml}} test --bench --only-dependencies
stack --stack-yaml=${{ matrix.stack-yaml}} test --haddock --no-haddock-deps --bench --no-run-benchmarks
stack --resolver=${{ matrix.resolver }} test --bench --only-dependencies
stack --resolver=${{ matrix.resolver }} test --haddock --no-haddock-deps --bench --no-run-benchmarks
12 changes: 0 additions & 12 deletions stack-ghc-8.10.7.yaml.lock

This file was deleted.

12 changes: 0 additions & 12 deletions stack-ghc-8.6.5.yaml.lock

This file was deleted.

12 changes: 0 additions & 12 deletions stack-ghc-9.0.2.yaml.lock

This file was deleted.

12 changes: 0 additions & 12 deletions stack-ghc-9.2.7.yaml.lock

This file was deleted.

4 changes: 2 additions & 2 deletions stack-ghc-9.2.7.yaml → stack-ghc-9.2.8.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# GHC 9.2.7
resolver: lts-20.18
# GHC 9.2.8
resolver: lts-20.26

flags:
ansi-terminal:
Expand Down
2 changes: 0 additions & 2 deletions stack-ghc-9.4.4.yaml

This file was deleted.

12 changes: 0 additions & 12 deletions stack-ghc-9.4.4.yaml.lock

This file was deleted.

12 changes: 0 additions & 12 deletions stack-ghc-9.4.5.yaml.lock

This file was deleted.

2 changes: 1 addition & 1 deletion stack-ghc-9.4.5.yaml → stack-ghc-9.4.7.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# GHC 9.4.5
resolver: nightly-2023-04-25
resolver: lts-21.7

flags:
ansi-terminal:
Expand Down
37 changes: 0 additions & 37 deletions stack-ghc-9.6.1.yaml

This file was deleted.

Loading