Skip to content

test: fix prevrandoa / difficulty test #171

test: fix prevrandoa / difficulty test

test: fix prevrandoa / difficulty test #171

Workflow file for this run

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