Skip to content

chore: onboard stepsecurity and apply security best practice #310

chore: onboard stepsecurity and apply security best practice

chore: onboard stepsecurity and apply security best practice #310

Workflow file for this run

name: Continuous Integration
on:
pull_request:
push:
branches: [master]
jobs:
lint_and_test:
runs-on: ubuntu-latest
steps:
- name: Harden the runner (Audit all outbound calls)
uses: step-security/harden-runner@f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a # v2.13.1
with:
egress-policy: audit
- name: Check out repository code
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
with:
submodules: 'recursive'
- name: Setup environment
uses: ./.github/actions/setup
- name: Run formatter
run: yarn format:check
- name: Run linter
run: yarn lint
- name: Run unit tests
run: yarn test
scan:
if: github.event_name == 'pull_request'
uses: circlefin/circle-public-github-workflows/.github/workflows/pr-scan.yaml@v1