Skip to content

Commit 07cb7c9

Browse files
committed
CI: run all steps in a pandoc container
1 parent 5c9c8b7 commit 07cb7c9

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/ci.yaml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,15 @@ jobs:
3232
# This should be the oldest version that's supported
3333
# - 2.19.2
3434

35+
container:
36+
image: pandoc/core:${{ matrix.pandoc }}
37+
3538
steps:
3639
- name: Checkout
3740
uses: actions/checkout@v2
3841

42+
- name: Install dependencies
43+
run: apk add make
44+
3945
- name: Test
40-
run: |
41-
# Use docker image with current release.
42-
make test \
43-
PANDOC="docker run --rm --volume $(pwd):/data \
44-
--user $(id -u):$(id -g) pandoc/core:${{ matrix.pandoc }}"
46+
run: make test

0 commit comments

Comments
 (0)