File tree Expand file tree Collapse file tree 2 files changed +55
-2
lines changed Expand file tree Collapse file tree 2 files changed +55
-2
lines changed Original file line number Diff line number Diff line change 23
23
~/.cabal/packages
24
24
~/.cabal/store
25
25
dist-newstyle
26
- key : cache-${{ runner.os }}-${{ hashFiles('nixpkgs.nix') }}-v${{ env.cache-invalidation-key }}-${{ hashFiles('linear-base .cabal') }}-${{ github.sha }}
27
- restore-keys : cache-${{ runner.os }}-${{ hashFiles('nixpkgs.nix') }}-v${{ env.cache-invalidation-key }}-${{ hashFiles('linear-base .cabal') }}-
26
+ key : cache-${{ runner.os }}-${{ hashFiles('nixpkgs.nix') }}-v${{ env.cache-invalidation-key }}-${{ hashFiles('capability .cabal') }}-${{ github.sha }}
27
+ restore-keys : cache-${{ runner.os }}-${{ hashFiles('nixpkgs.nix') }}-v${{ env.cache-invalidation-key }}-${{ hashFiles('capability .cabal') }}-
28
28
- name : Update Cabal's database
29
29
run : $NIXSHELL --run "cabal update"
30
30
- name : Build Cabal's dependencies
35
35
run : $NIXSHELL --run "cabal --flag=dev test"
36
36
- name : Haddock
37
37
run : $NIXSHELL --run "cabal haddock"
38
+
39
+ stack-ghc9 :
40
+ name : Build on GHC 9.0
41
+ runs-on : ubuntu-latest
42
+ steps :
43
+
44
+ - name : Cache dependencies
45
+
46
+ with :
47
+ path : ~/.stack
48
+ key : stack-ghc9-${{ runner.os }}-v${{ env.cache-invalidation-key }}-${{ hashFiles('stack-ghc9.yaml.lock', 'capability.cabal') }}
49
+ - name : Upgrade stack
50
+ run : stack upgrade
51
+ - name : Build
52
+ run : stack --stack-yaml=stack-ghc9.yaml build --pedantic --test --bench --no-run-tests --no-run-benchmarks
Original file line number Diff line number Diff line change
1
+ # This file was autogenerated by Stack.
2
+ # You should not edit this file by hand.
3
+ # For more information, please see the documentation at:
4
+ # https://docs.haskellstack.org/en/stable/lock_files
5
+
6
+ packages:
7
+ - completed:
8
+ subdir: generic-lens-core
9
+ name: generic-lens-core
10
+ version: 2.1.0.0
11
+ git: https://github.com/kcsongor/generic-lens.git
12
+ pantry-tree:
13
+ size: 2283
14
+ sha256: 5a26b16c38ad8d8ebc81182e1d09858858f16dc117a0c7b084d8446d3a17d749
15
+ commit: 8e1fc7dcf444332c474fca17110d4bc554db08c8
16
+ original:
17
+ subdir: generic-lens-core
18
+ git: https://github.com/kcsongor/generic-lens.git
19
+ commit: 8e1fc7dcf444332c474fca17110d4bc554db08c8
20
+ - completed:
21
+ subdir: generic-lens
22
+ name: generic-lens
23
+ version: 2.1.0.0
24
+ git: https://github.com/kcsongor/generic-lens.git
25
+ pantry-tree:
26
+ size: 2630
27
+ sha256: aba81557550537d4cfda2c1b07accff8589da44a1e418a3cde5639eb438d1c86
28
+ commit: 8e1fc7dcf444332c474fca17110d4bc554db08c8
29
+ original:
30
+ subdir: generic-lens
31
+ git: https://github.com/kcsongor/generic-lens.git
32
+ commit: 8e1fc7dcf444332c474fca17110d4bc554db08c8
33
+ snapshots:
34
+ - completed:
35
+ size: 540164
36
+ url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/nightly/2021/7/4.yaml
37
+ sha256: 195e3e9394de03e724525e210f82e30c4488f7c8a09fc70850d75d8b79332993
38
+ original: nightly-2021-07-04
You can’t perform that action at this time.
0 commit comments