-
Notifications
You must be signed in to change notification settings - Fork 15
48 lines (43 loc) · 1.36 KB
/
ci.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
name: CI
on:
push:
branches:
- "master"
pull_request:
jobs:
test-jq:
name: Run tests with jq
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: |
curl -sOLJ 'https://github.com/jqlang/jq/releases/download/jq-1.7.1/jq-linux-amd64'
chmod a+x jq-linux-amd64
JQ=./jq-linux-amd64 make test-jq
test-jqjq-jq:
name: Run tests with jqjq using jq
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: |
curl -sOLJ 'https://github.com/jqlang/jq/releases/download/jq-1.7.1/jq-linux-amd64'
chmod a+x jq-linux-amd64
JQ=./jq-linux-amd64 make test-jqjq
test-jqjq-gojq:
name: Run tests with jqjq using gojq
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: |
curl -Ls 'https://github.com/itchyny/gojq/releases/download/v0.12.16/gojq_v0.12.16_linux_amd64.tar.gz' | tar xz
mv gojq*/gojq gojq
JQ=./gojq make test-jqjq
test-jqjq-jaq:
name: Run tests with jqjq using jaq
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: |
curl -sOLJ 'https://github.com/01mf02/jaq/releases/download/v2.0.0-epsilon/jaq-x86_64-unknown-linux-gnu'
chmod a+x jaq-x86_64-unknown-linux-gnu
JQ=./jaq-x86_64-unknown-linux-gnu make test-jqjq