Skip to content

Changed rpc endpoints to env vars. Moved ankr rpc definitions to template branches #112

Changed rpc endpoints to env vars. Moved ankr rpc definitions to template branches

Changed rpc endpoints to env vars. Moved ankr rpc definitions to template branches #112

Workflow file for this run

name: test
on:
push:
branches-ignore:
- 'assets'
pull_request:
branches-ignore:
- 'assets'
env:
FOUNDRY_PROFILE: ci
ETH_RPC_URL: ${{ secrets.ETH_RPC_URL }}
GNOSIS_RPC_URL: ${{ secrets.GNOSIS_RPC_URL }}
POLYGON_RPC_URL: ${{ secrets.POLYGON_RPC_URL }}
jobs:
lint:
strategy:
fail-fast: true
name: Run Linter
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- run: forge fmt --check
check:
strategy:
fail-fast: true
name: Foundry 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 build
run: |
forge --version
forge build --sizes
id: build
- name: Run Forge tests
run: |
forge test -vvv
id: test