[TokenPaymaster] Support chains without WETH9 & Other Improvements #2223
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: Slither Analysis | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
# cancel previous runs if new commits are pushed to the branch | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
analyze: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
security-events: write | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
fetch-depth: 25 | |
node-version: 18 | |
- name: Setup Project | |
uses: ./.github/composite-actions/setup | |
- name: Install Foundry | |
uses: onbjerg/foundry-toolchain@v1 | |
with: | |
version: nightly | |
- name: Run Slither | |
uses: crytic/[email protected] | |
continue-on-error: true | |
id: slither | |
with: | |
sarif: results.sarif | |
slither-args: --foundry-out-directory artifacts_forge | |
- name: Upload SARIF file | |
uses: github/codeql-action/upload-sarif@v2 | |
with: | |
sarif_file: ${{ steps.slither.outputs.sarif }} |