build(deps-dev): bump ts-node from 10.9.1 to 10.9.2 #142
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: Continuous Integration | |
on: | |
push: # run on every push | |
branches: [ main ] | |
pull_request: # run on every pull request | |
jobs: | |
build-n-test: # building smart contract, running lint and tests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: yarn install | |
- name: Compile smart contract | |
run: yarn compile | |
- name: Run linting checks | |
run: yarn lint | |
- name: Run tests | |
run: yarn test | |
code-analysis: # static code analysis | |
runs-on: ubuntu-latest | |
permissions: | |
# required for uploading slither sarif results | |
security-events: write | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run static analysis with slither | |
uses: crytic/slither-action@v0.3.1 | |
id: slither | |
continue-on-error: true | |
with: | |
sarif: results.sarif | |
slither-args: --filter-paths node_modules # exclude other contracts (open zeppelin ones) | |
- name: Upload static anaylisis SARIF output file # it should also add relevant comments on PR | |
uses: github/codeql-action/upload-sarif@v3 | |
with: | |
sarif_file: ${{ steps.slither.outputs.sarif }} |