Skip to content

fix: simulation working dir #3

fix: simulation working dir

fix: simulation working dir #3

Workflow file for this run

name: examples-simulation
on:
- push
- pull_request
env:
FOUNDRY_PROFILE: ci
jobs:
check:
strategy:
fail-fast: true
env:
working-directory: ./examples
name: Foundry project
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
working-directory: ${{env.working-directory}}

Check failure on line 25 in .github/workflows/simulation.yml

View workflow run for this annotation

GitHub Actions / examples-simulation

Invalid workflow file

The workflow is not valid. .github/workflows/simulation.yml (Line: 25, Col: 9): Unexpected value 'working-directory' .github/workflows/simulation.yml (Line: 31, Col: 9): Unexpected value 'working-directory'
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
working-directory: ${{env.working-directory}}
- name: Run Forge build
run: |
forge --version
forge build --sizes
id: build
working-directory: ${{env.working-directory}}
- name: Run Forge tests
run: |
SIMULATE=true forge test -vvv
id: test
working-directory: ${{env.working-directory}}