Skip to content

feat: add pipeline on pushs and pulls #2

feat: add pipeline on pushs and pulls

feat: add pipeline on pushs and pulls #2

Workflow file for this run

name: test
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch

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

View workflow run for this annotation

GitHub Actions / .github/workflows/test.yml

Invalid workflow file

You have an error in your yaml syntax on line 8
env:
FOUNDRY_PROFILE: ci
jobs:
check:
strategy:
fail-fast: true
name: Foundry project
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: false
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- name: Run Forge build
run: |
forge --version
forge build --sizes
id: build
- name: Run Forge tests
run: |
forge test -vvv
id: test