build(deps): bump github.com/aws/aws-sdk-go from 1.53.2 to 1.53.4 #404
Workflow file for this run
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 Test | |
on: | |
pull_request: | |
paths-ignore: | |
- '.github/' | |
branches: | |
- main | |
jobs: | |
FuzzTests: | |
strategy: | |
matrix: | |
tests: ["FuzzTokenAuth;./pkg/registry;60s", "FuzzRoutes;./pkg/registry;60s"] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4.1.5 | |
- uses: actions/setup-go@v5.0.1 | |
with: | |
go-version-file: "go.mod" | |
- name: Fuzz test | |
shell: bash | |
env: | |
TEST: "${{ matrix.tests }}" | |
run: | | |
IFS=";" read test pkg timeout <<<$TEST | |
go test "${pkg}" -fuzztime="${timeout}" -fuzz="${test}" | |
- name: Upload fuzz failure seed corpus as run artifact | |
if: failure() | |
uses: actions/upload-artifact@v4.3.3 | |
with: | |
name: testdata | |
path: pkg/registry/testdata | |
- name: Report failure | |
uses: actions/github-script@v7.0.1 | |
if: failure() && github.event_name == 'pull_request' | |
with: | |
script: | | |
github.rest.issues.createComment({ | |
issue_number: context.issue.number, | |
owner: context.repo.owner, | |
repo: context.repo.repo, | |
body: 'Fuzz test failed on ${{ github.event.pull_request.head.sha }}. To troubleshoot locally, use the [GitHub CLI](https://cli.github.com) to download the seed corpus with\n```\ngh run download ${{ github.run_id }} -n testdata\n```' | |
}) |