feat(ci): add docker image push workflow #19
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: | |
workflow_dispatch: | |
pull_request: | |
push: | |
branches: | |
- develop | |
jobs: | |
slither-analyze: | |
runs-on: ubuntu-latest | |
container: | |
image: us-docker.pkg.dev/oplabs-tools-artifacts/images/ci-builder:v0.49.0 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run Slither | |
uses: crytic/[email protected] | |
id: slither | |
with: | |
target: packages/contracts-bedrock | |
slither-config: packages/contracts-bedrock/slither.config.json | |
fail-on: config | |
sarif: results.sarif | |
slither-args: --triage-database packages/contracts-bedrock/slither.db.json | |
- name: Upload SARIF file | |
uses: github/codeql-action/upload-sarif@v3 | |
if: always() | |
with: | |
sarif_file: ${{ steps.slither.outputs.sarif }} |