Solidity external upgrade - bump #125
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: Check Tests | |
on: [push] | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
env: | |
SOLC_SWITCH_GITHUB_TOKEN: ${{ secrets.SOLC_SWITCH_GITHUB_TOKEN }} | |
steps: | |
- name: Checkout Source | |
uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: '1.19' | |
- name: Checkout submodules | |
run: make submodules | |
- name: Install solc-select | |
run: | | |
python3 -m venv solgoenv | |
source solgoenv/bin/activate | |
pip3 install solc-select | |
pip3 install slither-analyzer | |
- name: Setup solc | |
run: | | |
source solgoenv/bin/activate | |
solc-select install 0.8.19 | |
solc-select use 0.8.19 | |
- name: Run Tests | |
run: | | |
source solgoenv/bin/activate | |
solc-select install 0.8.19 | |
solc-select use 0.8.19 | |
make test |