generated from rzk-lang/rzk-project-template
-
Notifications
You must be signed in to change notification settings - Fork 1
41 lines (35 loc) · 1.03 KB
/
rzk.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
name: Check with latest Rzk
# Controls when the workflow will run
on:
# Triggers the workflow on push events
push:
# and pull request events
pull_request:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
check:
runs-on: ubuntu-latest
name: Check formalisations
steps:
- uses: actions/checkout@v3
- name: Check all files
uses: rzk-lang/rzk-action@v1
with:
rzk-version: latest
files: >
src/1-foundations/1-type-theory/*.rzk.md
src/1-foundations/1-type-theory/exercises/*.rzk.md
src/1-foundations/2-homotopy-type-theory/*.rzk.md
src/1-foundations/2-homotopy-type-theory/exercises/*.rzk.md
check-formatting:
runs-on: ubuntu-latest
name: Check Rzk formatting
steps:
- uses: actions/checkout@v3
- name: Check formatting
uses: rzk-lang/[email protected]
with:
rzk-version: v0.7.2
typecheck: false
check-formatting: true