From 58e9f2626991781bc597c6a13d5fd88bc0fe5be6 Mon Sep 17 00:00:00 2001 From: Vincent Geddes Date: Fri, 28 Jul 2023 20:12:13 +0100 Subject: [PATCH] rename --- .../workflows/{ethereum.yml => contracts.yml} | 25 ++++--------------- 1 file changed, 5 insertions(+), 20 deletions(-) rename .github/workflows/{ethereum.yml => contracts.yml} (55%) diff --git a/.github/workflows/ethereum.yml b/.github/workflows/contracts.yml similarity index 55% rename from .github/workflows/ethereum.yml rename to .github/workflows/contracts.yml index 24bcc2d340..a243cd8739 100644 --- a/.github/workflows/ethereum.yml +++ b/.github/workflows/contracts.yml @@ -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: @@ -20,29 +20,14 @@ jobs: - uses: actions/checkout@v1 with: fetch-depth: 2 - - uses: pnpm/action-setup@v2.0.1 - 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: