Skip to content

[CCTPE-2405] Add Hook data Tests (#50) #1

[CCTPE-2405] Add Hook data Tests (#50)

[CCTPE-2405] Add Hook data Tests (#50) #1

Workflow file for this run

name: Continuous Integration
on:
pull_request:
push:
branches: [master]
jobs:
lint-and-test:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v5
with:
submodules: "recursive"
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install Node
uses: actions/setup-node@v4
with:
node-version: "18"
- name: Install Solhint
run: npm i
- name: Run Linter
run: npm run lint
- name: Build Forge Image
run: make build
- name: Run Unit Tests
run: make 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