9e38ee5135
Part of https://github.com/ooni/probe/issues/1753. While there, introduce a rule by which, if the branch is named `fullbuild` we run all possible builds. It helps to test all the builds without creating a release branch. Because release branches are protected, they cannot be deleted easily. On the contrary, the `fullbuild` branch can easily be disposed of.
26 lines
527 B
YAML
26 lines
527 B
YAML
# Checks whether the jafar tool is still WAI.
|
|
name: jafar
|
|
on:
|
|
push:
|
|
branches:
|
|
- "release/**"
|
|
- "fullbuild"
|
|
|
|
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@v3
|
|
with:
|
|
go-version: "${{ steps.goversion.outputs.version }}"
|
|
|
|
- run: go build -v ./internal/cmd/jafar
|
|
|
|
- run: sudo ./testjafar.bash
|