Skip to content

Commit

Permalink
chore: fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
gnkz committed Nov 1, 2023
1 parent e27a235 commit e249bd7
Showing 1 changed file with 4 additions and 14 deletions.
18 changes: 4 additions & 14 deletions .github/workflows/forge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ env:
FOUNDRY_PROFILE: ci

jobs:
setup:
name: Install foundry
run:
name: Run forge
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -25,17 +25,7 @@ jobs:
version: nightly
- name: Print forge version
run: forge --version
test:
name: Run tests
runs-on: ubuntu-latest
needs: setup
steps:
- name: Run forge test
run: forge test
format:
name: Check format
runs-on: ubuntu-latest
needs: setup
steps:
- name: Run forge fmt
run: forge fmt --check
- name: Run forge test
run: forge test

0 comments on commit e249bd7

Please sign in to comment.