Solc Version Tests #99
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: | |
workflow_dispatch: | |
schedule: | |
- cron: "0 3 * * 0" # Run at 3:00am UTC every Sunday | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Install Foundry | |
uses: foundry-rs/foundry-toolchain@v1 | |
with: | |
version: nightly | |
- name: Run forge tests against lowest and highest supported solc version | |
run: > | |
forge test --use 0.8.16 && | |
forge test --use 0.8.28 |