Skip to content

Commit

Permalink
rename
Browse files Browse the repository at this point in the history
  • Loading branch information
vgeddes committed Jul 28, 2023
1 parent 21ecbc1 commit 58e9f26
Showing 1 changed file with 5 additions and 20 deletions.
25 changes: 5 additions & 20 deletions .github/workflows/ethereum.yml → .github/workflows/contracts.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
name: ethereum
name: contracts

on:
push:
paths:
- "core/**"
- "!core/**/README.md"
- "contracts/**"
- "!contracts/**/README.md"
branches:
- main
pull_request:
paths:
- "core/**"
- "!core/**/README.md"
- "contracts/**"
- "!contracts/**/README.md"

jobs:
build:
Expand All @@ -20,29 +20,14 @@ jobs:
- 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:
Expand Down

0 comments on commit 58e9f26

Please sign in to comment.