2022-07-01 12:11:32 +02:00
|
|
|
# Checks whether the jafar tool is still WAI.
|
2021-02-02 12:05:47 +01:00
|
|
|
name: jafar
|
|
|
|
on:
|
2021-02-03 13:20:37 +01:00
|
|
|
push:
|
|
|
|
branches:
|
2021-05-06 19:56:55 +02:00
|
|
|
- "release/**"
|
2022-07-01 12:11:32 +02:00
|
|
|
|
2021-02-02 12:05:47 +01:00
|
|
|
jobs:
|
|
|
|
test:
|
2021-05-06 19:56:55 +02:00
|
|
|
runs-on: ubuntu-20.04
|
2021-02-02 12:05:47 +01:00
|
|
|
steps:
|
2022-08-17 11:39:38 +02:00
|
|
|
- uses: actions/checkout@v2
|
|
|
|
|
|
|
|
- name: Get GOVERSION content
|
|
|
|
id: goversion
|
|
|
|
run: echo ::set-output name=version::$(cat GOVERSION)
|
|
|
|
|
2022-08-22 11:50:58 +02:00
|
|
|
- uses: actions/setup-go@v3
|
2021-02-02 12:05:47 +01:00
|
|
|
with:
|
2022-08-17 11:39:38 +02:00
|
|
|
go-version: "${{ steps.goversion.outputs.version }}"
|
|
|
|
|
2021-02-03 13:20:37 +01:00
|
|
|
- run: go build -v ./internal/cmd/jafar
|
2022-08-17 11:39:38 +02:00
|
|
|
|
2021-02-02 12:05:47 +01:00
|
|
|
- run: sudo ./testjafar.bash
|