Skip to content

Commit

Permalink
ci: update 'test.yml' workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielstoica committed Jul 8, 2024
1 parent 9dfb454 commit 06bf1cc
Showing 1 changed file with 28 additions and 24 deletions.
52 changes: 28 additions & 24 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,34 +1,38 @@
name: test

on: workflow_dispatch
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]

env:
FOUNDRY_PROFILE: ci
FOUNDRY_PROFILE: ci

jobs:
check:
strategy:
fail-fast: true
check:
strategy:
fail-fast: true

name: Foundry project
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
name: Foundry project
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- 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 build
run: |
forge --version
forge build --sizes
id: build

- name: Run Forge tests
run: |
forge test -vvv
id: test
- name: Run Forge tests
run: |
forge test -vvv
id: test

0 comments on commit 06bf1cc

Please sign in to comment.