You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

77 lines
2.3 KiB

build(deps): Bump actions/checkout from 2.3.5 to 2.4.0 (#7199) Bumps [actions/checkout](https://github.com/actions/checkout) from 2.3.5 to 2.4.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/actions/checkout/releases">actions/checkout's releases</a>.</em></p> <blockquote> <h2>v2.4.0</h2> <ul> <li>Convert SSH URLs like <code>org-&lt;ORG_ID&gt;@github.com:</code> to <code>https://github.com/</code> - <a href="https://github-redirect.dependabot.com/actions/checkout/pull/621">pr</a></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/actions/checkout/commit/ec3a7ce113134d7a93b817d10a8272cb61118579"><code>ec3a7ce</code></a> set insteadOf url for org-id (<a href="https://github-redirect.dependabot.com/actions/checkout/issues/621">#621</a>)</li> <li><a href="https://github.com/actions/checkout/commit/fd47087372161c6f2a7b96d2ef87e944d89023ed"><code>fd47087</code></a> codeql should analyze lib not dist (<a href="https://github-redirect.dependabot.com/actions/checkout/issues/620">#620</a>)</li> <li><a href="https://github.com/actions/checkout/commit/3d677ac575eac4b370e52131024fa99ee754def1"><code>3d677ac</code></a> script to generate license info (<a href="https://github-redirect.dependabot.com/actions/checkout/issues/614">#614</a>)</li> <li><a href="https://github.com/actions/checkout/commit/826ba42d6c06e4d78b1b33478af7b54277e60b52"><code>826ba42</code></a> npm audit fix (<a href="https://github-redirect.dependabot.com/actions/checkout/issues/612">#612</a>)</li> <li><a href="https://github.com/actions/checkout/commit/eb8a193c1dbf4bbb2053320cef52bacc1a485839"><code>eb8a193</code></a> update dev dependencies and react to new linting rules (<a href="https://github-redirect.dependabot.com/actions/checkout/issues/611">#611</a>)</li> <li><a href="https://github.com/actions/checkout/commit/c49af7ca1f339b07a5baac8c8bfc49a5248f31d3"><code>c49af7c</code></a> Create codeql-analysis.yml (<a href="https://github-redirect.dependabot.com/actions/checkout/issues/602">#602</a>)</li> <li>See full diff in <a href="https://github.com/actions/checkout/compare/v2.3.5...v2.4.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/checkout&package-manager=github_actions&previous-version=2.3.5&new-version=2.4.0)](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>
3 years ago
  1. # Runs fuzzing nightly.
  2. name: Fuzz Tests
  3. on:
  4. workflow_dispatch: # allow running workflow manually
  5. schedule:
  6. - cron: '0 3 * * *'
  7. pull_request:
  8. branches: [master]
  9. paths:
  10. - "test/fuzz/**/*.go"
  11. jobs:
  12. fuzz-nightly-test:
  13. runs-on: ubuntu-latest
  14. steps:
  15. - uses: actions/setup-go@v2
  16. with:
  17. go-version: '1.17'
  18. - uses: actions/checkout@v2.4.0
  19. - name: Install go-fuzz
  20. working-directory: test/fuzz
  21. run: go get -u github.com/dvyukov/go-fuzz/go-fuzz github.com/dvyukov/go-fuzz/go-fuzz-build
  22. - name: Fuzz mempool
  23. working-directory: test/fuzz
  24. run: timeout -s SIGINT --preserve-status 10m make fuzz-mempool
  25. continue-on-error: true
  26. - name: Fuzz p2p-sc
  27. working-directory: test/fuzz
  28. run: timeout -s SIGINT --preserve-status 10m make fuzz-p2p-sc
  29. continue-on-error: true
  30. - name: Fuzz p2p-rpc-server
  31. working-directory: test/fuzz
  32. run: timeout -s SIGINT --preserve-status 10m make fuzz-rpc-server
  33. continue-on-error: true
  34. - name: Archive crashers
  35. uses: actions/upload-artifact@v2
  36. with:
  37. name: crashers
  38. path: test/fuzz/**/crashers
  39. retention-days: 3
  40. - name: Archive suppressions
  41. uses: actions/upload-artifact@v2
  42. with:
  43. name: suppressions
  44. path: test/fuzz/**/suppressions
  45. retention-days: 3
  46. - name: Set crashers count
  47. working-directory: test/fuzz
  48. run: echo "::set-output name=count::$(find . -type d -name 'crashers' | xargs -I % sh -c 'ls % | wc -l' | awk '{total += $1} END {print total}')"
  49. id: set-crashers-count
  50. outputs:
  51. crashers-count: ${{ steps.set-crashers-count.outputs.count }}
  52. fuzz-nightly-fail:
  53. needs: fuzz-nightly-test
  54. if: ${{ needs.fuzz-nightly-test.outputs.crashers-count != 0 }}
  55. runs-on: ubuntu-latest
  56. steps:
  57. - name: Notify Slack if any crashers
  58. uses: rtCamp/action-slack-notify@12e36fc18b0689399306c2e0b3e0f2978b7f1ee7
  59. env:
  60. SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
  61. SLACK_CHANNEL: tendermint-internal
  62. SLACK_USERNAME: Nightly Fuzz Tests
  63. SLACK_ICON_EMOJI: ':firecracker:'
  64. SLACK_COLOR: danger
  65. SLACK_MESSAGE: Crashers found in Nightly Fuzz tests
  66. SLACK_FOOTER: ''