Merge pull request #24 from lightclient/ci-push #62
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: test | |
on: | |
workflow_dispatch: | |
pull_request: | |
merge_group: | |
push: | |
branches: [main] | |
env: | |
FOUNDRY_PROFILE: ci | |
jobs: | |
check: | |
name: Foundry project | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- uses: actions/setup-go@v4 | |
- name: Install Geas | |
run: go install github.com/fjl/geas/cmd/geas@latest | |
- uses: foundry-rs/foundry-toolchain@v1 | |
with: | |
version: nightly | |
- name: Run Forge build | |
run: | | |
forge --version | |
./build-wrapper build --sizes | |
id: build | |
- name: Run Forge tests | |
run: ./build-wrapper test -vvv | |
id: test |