Skip to content

comments

comments #95

Workflow file for this run

name: Strategy Foundry tests
on:
push:
jobs:
check:
strategy:
fail-fast: true
name: Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- name: Forge version
run: forge --version
id: forge-version
- name: Forge install
run: forge install
id: forge-install
- name: Run Forge fmt
run: forge fmt --check
id: fmt
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@v4
- uses: DeterminateSystems/magic-nix-cache-action@v2
- name: Prepare repo
run: cd lib/rain.interpreter && nix run
- name: Run Forge tests
run: forge test -vvv --gas-report
id: test
env:
RPC_URL_POLYGON: ${{ secrets. RPC_URL_POLYGON }}