Explicitly export zero failures on prober startup (#891) #42
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Prober Unit Test | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
paths: | |
- 'cmd/prober/**' | |
permissions: | |
contents: read | |
jobs: | |
prober-test: | |
name: 'Prober test' | |
runs-on: ubuntu-latest | |
permissions: | |
id-token: write | |
contents: read | |
steps: | |
- name: 'Checkout' | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- name: Set up Go | |
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0 | |
with: | |
go-version: '1.21' | |
check-latest: true | |
- name: Prober test | |
id: prober-test | |
run: go run ./cmd/prober --one-time --write-prober --logStyle dev |