Skip to content

deployment

deployment #10

Workflow file for this run

name: Quality Gate
on:
push:
concurrency:
group: quality-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
packages: read
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
- run: make lint
check-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
with:
foundry: true
- run: make compile
- run: make deploy
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
with:
foundry: true
- run: make test
slither:
permissions:
# required for all workflows
security-events: write
packages: read
# only required for workflows in private repositorie
contents: read
actions: read
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
- run: rm foundry.toml && touch .env
- uses: crytic/slither-action@v0.3.0
id: slither
with:
node-version: 20.11.0
sarif: results.sarif
fail-on: none
- name: Upload SARIF file
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: ${{ steps.slither.outputs.sarif }}