test: fix prevrandoa / difficulty test #171
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: ci | |
on: [push] | |
jobs: | |
tests: | |
name: Tests with Foundry | |
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: Install Huff | |
uses: huff-language/huff-toolchain@v2 | |
with: | |
version: nightly | |
- name: Install Solidity compiler | |
uses: pontem-network/get-solc@master | |
with: | |
version: v0.8.16 | |
- name: Create env file | |
run: | | |
cat << EOF >> .env | |
export ALCHEMY_KEY=${{ secrets.ALCHEMY_KEY }} | |
export ALCHEMY_KEY_ARBITRUM=${{ secrets.ALCHEMY_KEY_ARBITRUM }} | |
EOF | |
- name: Source env file | |
run: source .env | |
- name: Run Tests | |
run: forge test -vvv |