Add DedicatedResolver
#410
Workflow file for this run
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: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| jobs: | |
| test: | |
| name: Contract tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Cache git folder | |
| uses: actions/cache@v4 | |
| with: | |
| path: .git | |
| key: git-folder | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: "recursive" | |
| - name: Install Foundry | |
| uses: foundry-rs/foundry-toolchain@v1 | |
| - name: Use Node 24 | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 24 | |
| - name: Use Bun 1.2.2 | |
| uses: oven-sh/setup-bun@v1 | |
| with: | |
| bun-version: 1.2.2 | |
| - run: bun install --frozen-lockfile | |
| - name: Run tests with coverage | |
| run: bun --filter contracts coverage | |
| - name: Generate coverage report | |
| run: bunx @lcov-viewer/cli lcov -o ./contracts/coverage ./contracts/lcov.info | |
| - name: Upload coverage report to artifacts | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: coverage-report | |
| path: contracts/coverage/ | |
| - name: Upload coverage report to Coveralls | |
| uses: coverallsapp/github-action@v2 | |
| with: | |
| file: contracts/lcov.info | |
| github-token: ${{ secrets.GITHUB_TOKEN }} |