Skip to content

fix workflow

fix workflow #12

Workflow file for this run

name: test
on:
pull_request:
merge_group:
push:
branches: [main]
env:
FOUNDRY_PROFILE: ci
jobs:
check:
strategy:
fail-fast: true
name: Foundry project
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: "EOF run Forge build"
id: build
run: make build-eof
- name: "EOF run Forge test"
id: test
run: make test-eof
- name: "Legacy run Forge build"
id: build

Check failure on line 33 in .github/workflows/test.yml

View workflow run for this annotation

GitHub Actions / test

Invalid workflow file

The workflow is not valid. .github/workflows/test.yml (Line: 33, Col: 13): The identifier 'build' may not be used more than once within the same scope. .github/workflows/test.yml (Line: 37, Col: 13): The identifier 'test' may not be used more than once within the same scope.
run: make build-legacy
- name: "Legacy run Forge test"
id: test
run: make test-legacy