ooni-probe-cli/.github/workflows/jafar.yml

25 lines
507 B
YAML

# Checks whether the jafar tool is still WAI.
name: jafar
on:
push:
branches:
- "release/**"
jobs:
test:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Get GOVERSION content
id: goversion
run: echo ::set-output name=version::$(cat GOVERSION)
- uses: actions/setup-go@v1
with:
go-version: "${{ steps.goversion.outputs.version }}"
- run: go build -v ./internal/cmd/jafar
- run: sudo ./testjafar.bash