Skip to content

chore(CCS-2902): implement code scanning (#46) #4

chore(CCS-2902): implement code scanning (#46)

chore(CCS-2902): implement code scanning (#46) #4

Workflow file for this run

name: Continuous Integration
on:
pull_request:
push:
branches: [main]
jobs:
lint_and_test:
runs-on: small-dind-spot
steps:
- name: Check out repository code
uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: Setup environment
uses: ./.github/actions/setup
- name: Run Linter
run: yarn lint
- name: Run Forge fmt
run: yarn format:check
- name: Run Unit Tests
run: yarn test
scan:
needs: lint_and_test
if: github.event_name == 'pull_request'
uses: circlefin/circle-public-github-workflows/.github/workflows/pr-scan.yaml@v1
release-sbom:
needs: lint_and_test
if: github.event_name == 'push'
uses: circlefin/circle-public-github-workflows/.github/workflows/attach-release-assets.yaml@v1