[1.7] update runc binary to 1.2.1 #18
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: Fuzzing | |
on: [pull_request] | |
permissions: # added using https://github.com/step-security/secure-workflows | |
contents: read | |
jobs: | |
# Run all fuzzing tests. Some of them use Go 1.18's testing.F. | |
# Others use https://github.com/AdaLogics/go-fuzz-headers. | |
ci_fuzz: | |
name: CI Fuzz | |
if: github.repository == 'containerd/containerd' | |
runs-on: ubuntu-latest | |
timeout-minutes: 60 | |
steps: | |
- name: Build Fuzzers | |
id: build | |
uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master | |
with: | |
oss-fuzz-project-name: 'containerd' | |
language: go | |
- name: Run Fuzzers | |
uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master | |
with: | |
oss-fuzz-project-name: 'containerd' | |
fuzz-seconds: 300 | |
language: go | |
continue-on-error: true | |
- name: Upload Crash | |
uses: actions/upload-artifact@v4 | |
if: failure() && steps.build.outcome == 'success' | |
with: | |
name: artifacts | |
path: ./out/artifacts | |
# Make sure all fuzzing tests which use Go 1.18's testing.F are | |
# runnable with go test -fuzz. | |
go_test_fuzz: | |
name : go test -fuzz | |
if: github.repository == 'containerd/containerd' | |
runs-on: ubuntu-latest | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/install-go | |
- run: script/go-test-fuzz.sh |