Skip to content

Commit

Permalink
update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
coffeexcoin committed Oct 9, 2024
1 parent 9130df8 commit 871eb17
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 8 deletions.
30 changes: 22 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: test
name: CI

on: workflow_dispatch
on:
push:
pull_request:
workflow_dispatch:

env:
FOUNDRY_PROFILE: ci
Expand All @@ -13,7 +16,7 @@ jobs:
name: Foundry project
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: recursive

Expand All @@ -22,13 +25,24 @@ jobs:
with:
version: nightly

- name: Run Forge build
- name: Show Forge version
run: |
forge --version
- name: Run Forge fmt
run: |
forge fmt --check
id: fmt

- name: Run Forge build
run: |
forge build --sizes
id: build

- name: Run Forge tests
run: |
forge test -vvv
id: test
#- name: Check gas snapshots
# run: forge snapshot --check

#- name: Run Forge tests
# run: |
# forge test -vvv
# id: test
1 change: 1 addition & 0 deletions lib/solady
Submodule solady added at e0ef35

0 comments on commit 871eb17

Please sign in to comment.