Skip to content

feat: Upgrade to solc 0.8.26 and cancun #111

feat: Upgrade to solc 0.8.26 and cancun

feat: Upgrade to solc 0.8.26 and cancun #111

Workflow file for this run

name: Forge Coverage
on:
push:
branches:
- main
pull_request:
env:
FOUNDRY_PROFILE: ci
permissions: write-all
jobs:
check:
name: Code Coverage
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- name: Install lcov
uses: hrishikesh-kadam/setup-lcov@v1
- name: Run coverage
run: npm run coverage
id: coverage
- name: Report code coverage
uses: zgosalvez/github-actions-report-lcov@v3
with:
coverage-files: lcov.info
artifact-name: code-coverage-report
minimum-coverage: 25
github-token: ${{ secrets.GITHUB_TOKEN }}
update-comment: true