feat: new contract with only base url #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: Slither Analysis | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
analyze: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
security-events: write | |
steps: | |
- name: Check out github repository | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 1 | |
- name: Cache node modules | |
uses: actions/cache@v2 | |
env: | |
cache-name: cache-node-modules | |
with: | |
path: "**/node_modules" | |
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/yarn.lock') }} | |
- name: Install node | |
uses: actions/setup-node@v1 | |
with: | |
node-version: "16.x" | |
- name: Install dependencies | |
run: yarn --frozen-lockfile | |
- name: Hardhat compile | |
run: yarn compile | |
- name: Run Slither | |
uses: crytic/slither-action@v0.1.1 | |
id: slither | |
continue-on-error: true | |
with: | |
solc-version: 0.8.13 | |
ignore-compile: true | |
node-version: 18 | |
sarif: results.sarif | |
- name: Upload SARIF file | |
uses: github/codeql-action/upload-sarif@v1 | |
with: | |
sarif_file: ${{ steps.slither.outputs.sarif }} |