Attempt to fix failing CI #408
This file contains hidden or 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: Run Foundry Test with NPM | |
| on: [push] | |
| jobs: | |
| test_foundry_npm: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: smart_contract | |
| name: Foundry Test | |
| steps: | |
| - name: Checkout 🛎️ | |
| uses: actions/checkout@v4 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v2 | |
| with: | |
| node-version: '20' | |
| - name: Install dependencies | |
| run: yarn install | |
| - name: Install Foundry | |
| uses: onbjerg/foundry-toolchain@v1 | |
| with: | |
| version: nightly | |
| - name: Run Forge Test | |
| run: forge test | |