Skip to content

Commit 1765d72

Browse files
committed
Run checks with GitHub Actions
1 parent fc0f70c commit 1765d72

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: CI
2+
3+
on:
4+
# Run on all pull requests that change code.
5+
pull_request:
6+
paths-ignore:
7+
- 'README.md'
8+
- LICENSE
9+
- .editorconfig
10+
# Run every time a code change is pushed.
11+
push:
12+
paths-ignore:
13+
- 'README.md'
14+
- LICENSE
15+
- .editorconfig
16+
# Test each week if things still work. This way we will catch
17+
# incompatible pandoc changes in a timely manner.
18+
schedule:
19+
# At 3:27am each Tuesday
20+
- cron: '27 3 * * 2'
21+
22+
jobs:
23+
test:
24+
runs-on: ubuntu-latest
25+
strategy:
26+
fail-fast: true
27+
matrix:
28+
pandoc:
29+
- edge
30+
- latest
31+
- 2.17
32+
- '2.9.2.1'
33+
34+
container:
35+
image: pandoc/core:${{ matrix.pandoc }}
36+
37+
steps:
38+
- name: Checkout
39+
uses: actions/checkout@v3
40+
41+
- name: Install dependencies
42+
run: apk add make
43+
44+
- name: Test
45+
run: make test

0 commit comments

Comments
 (0)