quickfix: remove foundry version pinning + artifact copying from CI #10
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: Contracts CI | |
on: push | |
env: | |
FOUNDRY_PROFILE: ci | |
jobs: | |
run_ci: | |
strategy: | |
fail-fast: true | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Install Foundry | |
uses: foundry-rs/foundry-toolchain@v1 | |
- name: Install contract deps | |
run: forge --version && forge install | |
id: install | |
- name: Build contracts | |
run: forge build --sizes | |
id: build | |
- name: Run tests | |
run: forge test -vvv | |
id: test |