Skip to content

Move contracts to repo root directory #1228

Move contracts to repo root directory

Move contracts to repo root directory #1228

Workflow file for this run

name: ethereum
on:
push:
paths:
- "core/**"
- "!core/**/README.md"
branches:
- main
pull_request:
paths:
- "core/**"
- "!core/**/README.md"
jobs:
build:
runs-on: snowbridge-runner
timeout-minutes: 15
steps:
- uses: actions/checkout@v1
with:
fetch-depth: 2
- uses: pnpm/[email protected]
with:
version: 8.6.6
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: v18.16.1
cache: "pnpm"
cache-dependency-path: core/pnpm-lock.yaml
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
- name: Install dependencies
working-directory: core
run: pnpm install --frozen-lockfile
- name: Test
working-directory: contracts
run: forge test
- name: Coverage
working-directory: contracts
run: forge coverage --report=lcov --via-ir
- name: Lint
working-directory: contracts
run: pnpm lint
- name: Upload coverage reports to Codecov with GitHub Action
uses: codecov/codecov-action@v3
with:
working-directory: contracts
files: lcov.info
flags: solidity