2021-10-29 12:45:37 +00:00
|
|
|
name: CIFuzz
|
2023-02-08 19:28:16 +00:00
|
|
|
on: [pull_request]
|
2022-08-15 05:43:07 +00:00
|
|
|
|
|
|
|
concurrency:
|
2022-09-25 21:48:42 +00:00
|
|
|
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
|
2022-08-15 05:43:07 +00:00
|
|
|
cancel-in-progress: true
|
|
|
|
|
2021-10-29 12:45:37 +00:00
|
|
|
jobs:
|
|
|
|
Fuzzing:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Build Fuzzers
|
|
|
|
id: build
|
|
|
|
uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master
|
|
|
|
with:
|
|
|
|
oss-fuzz-project-name: 'tailscale'
|
|
|
|
dry-run: false
|
|
|
|
language: go
|
|
|
|
- name: Run Fuzzers
|
|
|
|
uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master
|
|
|
|
with:
|
|
|
|
oss-fuzz-project-name: 'tailscale'
|
|
|
|
fuzz-seconds: 300
|
|
|
|
dry-run: false
|
|
|
|
language: go
|
|
|
|
- name: Upload Crash
|
2022-03-07 11:13:09 +00:00
|
|
|
uses: actions/upload-artifact@v3
|
2021-10-29 12:45:37 +00:00
|
|
|
if: failure() && steps.build.outcome == 'success'
|
|
|
|
with:
|
|
|
|
name: artifacts
|
|
|
|
path: ./out/artifacts
|