Skip to content

build(deps): Bump step-security/foundry-toolchain from 1.2.0 to 1.2.1 #766

build(deps): Bump step-security/foundry-toolchain from 1.2.0 to 1.2.1

build(deps): Bump step-security/foundry-toolchain from 1.2.0 to 1.2.1 #766

Workflow file for this run

name: Foundry Tests
on:
workflow_dispatch:
pull_request:
branches: [main]
permissions:
contents: read
jobs:
check:
strategy:
fail-fast: true
name: Foundry project
runs-on: smart-contracts-linux-large
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
submodules: recursive
- name: Use Node.js [18]
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
node-version: 18
cache: npm
- name: Create .env file
run: cp local.env .env
- name: Install dependencies
run: npm ci
- name: Install Foundry
uses: step-security/foundry-toolchain@01e2d127ea061e2ce8fa34340de71ca8518f093e # v1.2.1
with:
version: nightly
- name: Run Forge build
run: |
forge --version
forge build
forge build
id: build
- name: Run Forge tests
run: |
forge test -vvv
id: test