Skip to content

👷 Update Node.js to Version 22 #95

👷 Update Node.js to Version 22

👷 Update Node.js to Version 22 #95

Workflow file for this run

name: 🕵️‍♂️ Test smart contracts
on: [push, pull_request, workflow_dispatch]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
tests:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- name: Show the Foundry CI config
run: forge config
env:
FOUNDRY_PROFILE: ci
- name: Foundry tests
run: forge test
env:
FOUNDRY_PROFILE: ci
- name: Show the Foundry default config
run: forge config
env:
FOUNDRY_PROFILE: default
- name: Run snapshot
run: NO_COLOR=1 forge snapshot >> $GITHUB_STEP_SUMMARY
env:
FOUNDRY_PROFILE: default