docs: Updates deployment command #24
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: Solc Version Tests | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- run: yarn install | |
- name: Install Foundry | |
uses: foundry-rs/foundry-toolchain@v1 | |
with: | |
version: nightly | |
- name: Run Forge tests for each supported solc version | |
run: > | |
FOUNDRY_PROFILE=ci forge test --use 0.8.16 && | |
FOUNDRY_PROFILE=ci forge test --use 0.8.17 && | |
FOUNDRY_PROFILE=ci forge test --use 0.8.18 && | |
FOUNDRY_PROFILE=ci forge test --use 0.8.19 |