Merge pull request #29 from KaelSensei/fix/slither-necessary-reentrancy #78
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: Forge Tests | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - fix/** | |
| - feature/** | |
| - ci/** | |
| pull_request: | |
| branches: | |
| - main | |
| - fix/** | |
| - feature/** | |
| - ci/** | |
| jobs: | |
| forge-tests: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 30 | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 | |
| - name: Install Foundry toolchain | |
| uses: foundry-rs/foundry-toolchain@v1 | |
| with: | |
| version: stable | |
| - name: Show Foundry and Rust versions | |
| run: | | |
| forge --version | |
| rustc --version || true | |
| - name: Run Forge tests (verbose) and save report | |
| run: | | |
| forge test -vv | tee forge-test-report.txt | |
| - name: Upload Forge test report artifact | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: forge-test-report | |
| path: forge-test-report.txt | |
| retention-days: 1 | |