Skip to content

BET 393 - enable the ability to prevent name ejection on l2 #430

BET 393 - enable the ability to prevent name ejection on l2

BET 393 - enable the ability to prevent name ejection on l2 #430

Workflow file for this run

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 }}