This repository has been archived by the owner on Oct 31, 2024. It is now read-only.
ci: push docker image on release (#27) #5
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: Fuzz tests | |
on: # yamllint disable-line rule:truthy | |
push: | |
branches: | |
- main | |
- develop | |
workflow_dispatch: | |
workflow_call: | |
outputs: | |
workflow_output: | |
description: "Fuzz output" | |
value: ${{ jobs.fuzz_test.outputs.fuzz_output_failure }} | |
jobs: | |
fuzz_test: | |
name: Polygon Edge | |
runs-on: ubuntu-latest | |
outputs: | |
fuzz_output_failure: ${{ steps.run_fuzz_failure.outputs.test_output }} | |
steps: | |
- name: Setup Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.20.x | |
- name: Checkout Code | |
uses: actions/checkout@v3 | |
- name: Run Fuzz Test | |
run: make fuzz-test | |
- name: Run fuzz tests failed | |
if: failure() | |
id: run_fuzz_failure | |
run: echo "test_output=false" >> $GITHUB_OUTPUT | |