Skip to content

add OD fix

add OD fix #683

Workflow file for this run

name: Coverage
on: [push]
concurrency:
group: ${{github.workflow}}-${{github.ref}}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 18.x
cache: "yarn"
cache-key: yarn-${{ hashFiles('**/yarn.lock') }}-${{ github.run_id }}
- name: Install dependencies
run: yarn --frozen-lockfile --network-concurrency 1
- name: Install forge dependencies
run: forge install
- name: Precompile using 0.8.19 and via-ir=false
run: yarn build
- name: Install lcov (coverage dependency)
run: sudo apt-get update && sudo apt-get install lcov -y
- name: Run Coverage
shell: bash
run: yarn test:coverage
- name: Upload lcov.info
uses: actions/upload-artifact@v4
with:
name: lcov-info
path: lcov.info
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4.1.0
with:
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true
slug: open-dollar/od-contracts