add relative directory of bao-base to run #40
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: | |
pull_request: | |
workflow_dispatch: | |
workflow_call: | |
secrets: | |
ALCHEMY_KEY: | |
description: "API KEY for accessing the ALchemy blockchain service" | |
required: false | |
env: | |
MAINNET_RPC_URL: https://eth-mainnet.g.alchemy.com/v2/${{ secrets.ALCHEMY_KEY }} | |
jobs: | |
test_foundry_matrix: | |
strategy: | |
matrix: | |
include: | |
- os: ubuntu-latest | |
foundry: nightly | |
- os: ubuntu-22.04 | |
foundry: v0.3.0 | |
- os: ubuntu-22.04 | |
foundry: nightly-233bff2f8ef1f958e1676048c85a2bc37efa2241 | |
- os: macos-latest | |
foundry: nightly | |
- os: macos-14 | |
foundry: v0.3.0 | |
- os: windows-latest | |
foundry: nightly | |
- os: windows-2022 | |
foundry: v0.3.0 | |
fail-fast: false # ensure all jobs run even if one fails | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout repository with submodules | |
uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Run Bao-base CI actions | |
uses: ./.github/actions/test-foundry | |
with: | |
foundry: ${{ matrix.foundry }} |