feat: Rule Coverage Analyzer, Inline Annotations, Heuristic Detection, Rollback System #32
Workflow file for this run
This file contains hidden or 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: GasGuard Contract Scanning | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| scan: | |
| name: GasGuard Scan | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install GasGuard | |
| run: | | |
| cargo install --path apps/api --name gasguard | |
| - name: Run GasGuard Scan | |
| run: | | |
| gasguard scan-dir . --format json > gasguard-report.json | |
| - name: Annotate Pull Request | |
| uses: gasguard/github-action@v1 | |
| with: | |
| report: gasguard-report.json | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| fail-on: error |