-
Notifications
You must be signed in to change notification settings - Fork 1
51 lines (44 loc) · 1.07 KB
/
ci.yaml
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
name: CI
on:
# Run on all pull requests that change code.
pull_request:
paths-ignore:
- 'README.md'
- LICENSE
- .editorconfig
# Run every time a code change is pushed.
push:
paths-ignore:
- 'README.md'
- LICENSE
- .editorconfig
# Test if things still work each Tuesday morning at 5:39 UTC.
# This way we will catch incompatible pandoc changes in a timely
# manner.
schedule:
# At 5:39am each Tuesday
- cron: '39 5 * * 2'
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
pandoc:
- edge
- latest
# This should be the oldest version that's supported
# - 2.19.2
container:
image: pandoc/core:${{ matrix.pandoc }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install dependencies
run: apk add luarocks5.4 make
- name: Install perevir
run: luarocks-5.4 install perevir
- name: Test
run: |
eval $(luarocks-5.4 path)
make test