App-Expansion #1 (MDP-96) #251
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 Foundry CI | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
defaults: | |
run: | |
working-directory: contracts | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: foundry-rs/foundry-toolchain@v1 | |
with: | |
version: nightly | |
- run: echo $(forge --version) | |
- run: forge clean | |
- run: forge install | |
- run: forge build | |
- run: forge test -vvv |