File tree Expand file tree Collapse file tree 1 file changed +53
-0
lines changed Expand file tree Collapse file tree 1 file changed +53
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Check install
2
+
3
+ # See: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#concurrency.
4
+ concurrency :
5
+ group : ${{ github.ref }}-${{ github.workflow }}
6
+ cancel-in-progress : true
7
+
8
+ on :
9
+ push :
10
+ paths-ignore :
11
+ - " doc/**"
12
+ - " **/README.md"
13
+ - " CONTRIBUTING.md"
14
+ - " changelog.d/**"
15
+ # only top level for these, because various test packages have them too
16
+ - " */ChangeLog.md"
17
+ - " */changelog.md"
18
+ - " release-notes/**"
19
+ pull_request :
20
+ paths-ignore :
21
+ - " doc/**"
22
+ - " **/README.md"
23
+ - " CONTRIBUTING.md"
24
+ - " changelog.d/**"
25
+ - " */ChangeLog.md"
26
+ - " */changelog.md"
27
+ - " release-notes/**"
28
+ release :
29
+ types :
30
+ - created
31
+
32
+ jobs :
33
+
34
+ cabal-install-dry-run :
35
+ name : cabal install with ghc-${{ matrix.ghc }}
36
+ if : github.ref != 'refs/heads/master' && github.base_ref != 'master'
37
+ runs-on : ubuntu-latest
38
+ strategy :
39
+ matrix :
40
+ ghc :
41
+ ["9.12.1"]
42
+
43
+ steps :
44
+
45
+ - uses : haskell-actions/setup@v2
46
+ id : setup-haskell
47
+ with :
48
+ ghc-version : ${{ matrix.ghc }}
49
+ cabal-version : latest
50
+
51
+ - uses : actions/checkout@v4
52
+
53
+ - run : cabal install cabal-install --dry-run
You can’t perform that action at this time.
0 commit comments