chore: remove unnecessary type casts #48
Workflow file for this run
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: Continuous integration checks | |
on: [push] | |
jobs: | |
checks: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: oven-sh/setup-bun@v2 | |
- uses: actions/cache@v3 | |
with: | |
path: node_modules | |
key: ${{ runner.os }}-modules-${{ hashFiles('bun.lockb', 'bunfig.toml') }} | |
- name: Install dependencies | |
run: bun install | |
- name: Check formatting | |
run: bun check:format | |
- name: Build package | |
run: bun run build | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: oven-sh/setup-bun@v2 | |
- uses: actions/cache@v3 | |
with: | |
path: node_modules | |
key: ${{ runner.os }}-modules-${{ hashFiles('bun.lockb', 'bunfig.toml') }} | |
- name: Install dependencies | |
run: bun install | |
- name: Install anvil | |
uses: foundry-rs/foundry-toolchain@v1 | |
- name: Launch anvil | |
run: bun anvil & | |
- name: Run tests | |
run: bun test |