mirror of
https://github.com/tendermint/tendermint.git
synced 2026-02-03 02:22:04 +00:00
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 3. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/actions/upload-artifact/releases">actions/upload-artifact's releases</a>.</em></p> <blockquote> <h2>v3.0.0</h2> <h2>What's Changed</h2> <ul> <li>Update default runtime to node16 (<a href="https://github-redirect.dependabot.com/actions/upload-artifact/issues/293">#293</a>)</li> <li>Update package-lock.json file version to 2 (<a href="https://github-redirect.dependabot.com/actions/upload-artifact/issues/302">#302</a>)</li> </ul> <h3>Breaking Changes</h3> <p>With the update to Node 16, all scripts will now be run with Node 16 rather than Node 12.</p> <h2>v2.3.1</h2> <p>Fix for empty fails on Windows failing on upload <a href="https://github-redirect.dependabot.com/actions/upload-artifact/issues/281">#281</a></p> <h2>v2.3.0 Upload Artifact</h2> <ul> <li>Optimizations for faster uploads of larger files that are already compressed</li> <li>Significantly improved logging when there are chunked uploads</li> <li>Clarifications in logs around the upload size and prohibited characters that aren't allowed in the artifact name or any uploaded files</li> <li>Various other small bugfixes & optimizations</li> </ul> <h2>v2.2.4</h2> <ul> <li>Retry on HTTP 500 responses from the service</li> </ul> <h2>v2.2.3</h2> <ul> <li>Fixes for proxy related issues</li> </ul> <h2>v2.2.2</h2> <ul> <li>Improved retryability and error handling</li> </ul> <h2>v2.2.1</h2> <ul> <li>Update used actions/core package to the latest version</li> </ul> <h2>v2.2.0</h2> <ul> <li>Support for artifact retention</li> </ul> <h2>v2.1.4</h2> <ul> <li>Add Third Party License Information</li> </ul> <h2>v2.1.3</h2> <ul> <li>Use updated version of the <code>@action/artifact</code> NPM package</li> </ul> <h2>v2.1.2</h2> <ul> <li>Increase upload chunk size from 4MB to 8MB</li> <li>Detect case insensitive file uploads</li> </ul> <h2>v2.1.1</h2> <ul> <li>Fix for certain symlinks not correctly being identified as directories before starting uploads</li> </ul> <h2>v2.1.0</h2> <ul> <li>Support for uploading artifacts with multiple paths</li> <li>Support for using exclude paths</li> <li>Updates to dependencies</li> </ul> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="6673cd052c"><code>6673cd0</code></a> Update <code>lockfileVersion</code> in <code>package-lock.json</code> (<a href="https://github-redirect.dependabot.com/actions/upload-artifact/issues/302">#302</a>)</li> <li><a href="2244c82003"><code>2244c82</code></a> Update to node16 (<a href="https://github-redirect.dependabot.com/actions/upload-artifact/issues/293">#293</a>)</li> <li><a href="87348cee5f"><code>87348ce</code></a> Add 503 warning when uploading to the same artifact</li> <li>See full diff in <a href="https://github.com/actions/upload-artifact/compare/v2...v3">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details>
78 lines
2.3 KiB
YAML
78 lines
2.3 KiB
YAML
# Runs fuzzing nightly.
|
|
name: Fuzz Tests
|
|
on:
|
|
workflow_dispatch: # allow running workflow manually
|
|
schedule:
|
|
- cron: '0 3 * * *'
|
|
pull_request:
|
|
branches: [master]
|
|
paths:
|
|
- "test/fuzz/**/*.go"
|
|
|
|
jobs:
|
|
fuzz-nightly-test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/setup-go@v3
|
|
with:
|
|
go-version: '1.17'
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Install go-fuzz
|
|
working-directory: test/fuzz
|
|
run: go install github.com/dvyukov/go-fuzz/go-fuzz@latest github.com/dvyukov/go-fuzz/go-fuzz-build@latest
|
|
|
|
- name: Fuzz mempool
|
|
working-directory: test/fuzz
|
|
run: timeout -s SIGINT --preserve-status 10m make fuzz-mempool
|
|
continue-on-error: true
|
|
|
|
- name: Fuzz p2p-sc
|
|
working-directory: test/fuzz
|
|
run: timeout -s SIGINT --preserve-status 10m make fuzz-p2p-sc
|
|
continue-on-error: true
|
|
|
|
- name: Fuzz p2p-rpc-server
|
|
working-directory: test/fuzz
|
|
run: timeout -s SIGINT --preserve-status 10m make fuzz-rpc-server
|
|
continue-on-error: true
|
|
|
|
- name: Archive crashers
|
|
uses: actions/upload-artifact@v3
|
|
with:
|
|
name: crashers
|
|
path: test/fuzz/**/crashers
|
|
retention-days: 3
|
|
|
|
- name: Archive suppressions
|
|
uses: actions/upload-artifact@v3
|
|
with:
|
|
name: suppressions
|
|
path: test/fuzz/**/suppressions
|
|
retention-days: 3
|
|
|
|
- name: Set crashers count
|
|
working-directory: test/fuzz
|
|
run: echo "::set-output name=count::$(find . -type d -name 'crashers' | xargs -I % sh -c 'ls % | wc -l' | awk '{total += $1} END {print total}')"
|
|
id: set-crashers-count
|
|
|
|
outputs:
|
|
crashers-count: ${{ steps.set-crashers-count.outputs.count }}
|
|
|
|
fuzz-nightly-fail:
|
|
needs: fuzz-nightly-test
|
|
if: ${{ needs.fuzz-nightly-test.outputs.crashers-count != 0 }}
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Notify Slack if any crashers
|
|
uses: rtCamp/action-slack-notify@12e36fc18b0689399306c2e0b3e0f2978b7f1ee7
|
|
env:
|
|
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
|
|
SLACK_CHANNEL: tendermint-internal
|
|
SLACK_USERNAME: Nightly Fuzz Tests
|
|
SLACK_ICON_EMOJI: ':firecracker:'
|
|
SLACK_COLOR: danger
|
|
SLACK_MESSAGE: Crashers found in Nightly Fuzz tests
|
|
SLACK_FOOTER: ''
|