-
Notifications
You must be signed in to change notification settings - Fork 703
47 lines (39 loc) · 1023 Bytes
/
check-install.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: Check install
# See: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#concurrency.
concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true
on:
push:
paths-ignore:
- 'CONTRIBUTING.md'
- 'doc/**'
- 'release-notes/**'
- 'Cabal-tests/test/**'
- 'cabal-testsuite/PackageTests/**'
pull_request:
paths-ignore:
- 'CONTRIBUTING.md'
- 'doc/**'
- 'release-notes/**'
- 'Cabal-tests/test/**'
- 'cabal-testsuite/PackageTests/**'
release:
types:
- created
jobs:
cabal-install-dry-run:
name: cabal install with ghc-${{ matrix.ghc }}
runs-on: ubuntu-latest
strategy:
matrix:
ghc:
["9.12.1"]
steps:
- uses: haskell-actions/setup@v2
id: setup-haskell
with:
ghc-version: ${{ matrix.ghc }}
cabal-version: latest
- uses: actions/checkout@v4
- run: cabal install cabal-install --dry-run