Skip to content

chore(ci): bump GitHub Actions to Node 24 #14

chore(ci): bump GitHub Actions to Node 24

chore(ci): bump GitHub Actions to Node 24 #14

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@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
submodules: "recursive"
- name: Setup Python
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
python-version: "3.10"
- name: Install Node
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
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
build_success_rollup:
runs-on: ubuntu-latest
name: Build Success Rollup
if: ${{ always() }}
needs:
- lint-and-test
steps:
- run: |
[ "${{ needs.lint-and-test.result }}" = "success" ] || [ "${{ needs.lint-and-test.result }}" = "skipped" ]
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