-
Notifications
You must be signed in to change notification settings - Fork 86
64 lines (49 loc) · 1.25 KB
/
checks.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
name: Project checks
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
on:
pull_request:
merge_group:
jobs:
check-git-dependencies:
name: Check git dependencies
runs-on: ubuntu-latest
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v4
- name: Check Dependencies
run: ./scripts/ci/check-git-dependencies.sh
check-changelogs:
name: Check changelogs
runs-on: ubuntu-latest
defaults:
run:
shell: bash
steps:
- name: Install dependencies
run: sudo apt install -y fd-find
- uses: actions/checkout@v4
- name: git fetch
run: git fetch origin master:master
- name: Check changelogs
run: ./scripts/ci/check-changelogs.sh
check-cabal-files:
name: Check cabal files
runs-on: ubuntu-latest
defaults:
run:
shell: bash
steps:
- name: Install dependencies
run: sudo apt install -y fd-find
- name: Install Haskell
uses: input-output-hk/setup-haskell@v1
id: setup-haskell
with:
cabal-version: "3.10.1.0"
- uses: actions/checkout@v4
- name: Check cabal files
run: ./scripts/ci/check-cabal-files.sh