Skip to content

chore: funding.json for rpgf #3

chore: funding.json for rpgf

chore: funding.json for rpgf #3

Workflow file for this run

name: Forge Tests
on:
push:
branches:
- main
pull_request:
env:
FOUNDRY_PROFILE: ci
jobs:
check:
strategy:
fail-fast: true
name: Foundry project
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
# Must Insall node modules for forge to reference in remappings
- uses: actions/setup-node@v1
with:
node-version: 16.x
registry-url: https://registry.npmjs.org
- id: yarn-cache
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v1
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
yarn-
- name: Install dependencies
run: yarn install --frozen-lockfile
# End of node module support
- 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
env:
RPC_URL: ${{ secrets.RPC_URL }}