From c6fbb73b3322edaf9ecb918c415d0d4443fd42bc Mon Sep 17 00:00:00 2001 From: Richard Meissner Date: Tue, 11 Jul 2023 22:41:50 +0200 Subject: [PATCH] Fix github workflow --- {contracts/.github => .github}/workflows/ci.yml | 7 +++++-- contracts/contracts/SamplePlugin.sol | 5 +---- 2 files changed, 6 insertions(+), 6 deletions(-) rename {contracts/.github => .github}/workflows/ci.yml (87%) diff --git a/contracts/.github/workflows/ci.yml b/.github/workflows/ci.yml similarity index 87% rename from contracts/.github/workflows/ci.yml rename to .github/workflows/ci.yml index d9a27cb..9006606 100644 --- a/contracts/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,5 +1,8 @@ -name: safe-protocol-demo +name: safe-protocol-demo-contracts on: [ push, pull_request ] +defaults: + run: + working-directory: ./contracts jobs: tests: @@ -14,7 +17,7 @@ jobs: path: "**/node_modules" key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }} - run: yarn --frozen-lockfile - - run: yarn compile + - run: yarn build - run: yarn coverage lint: runs-on: ubuntu-latest diff --git a/contracts/contracts/SamplePlugin.sol b/contracts/contracts/SamplePlugin.sol index 2718e74..c788cf4 100644 --- a/contracts/contracts/SamplePlugin.sol +++ b/contracts/contracts/SamplePlugin.sol @@ -21,10 +21,7 @@ abstract contract BasePlugin is ISafeProtocolPlugin { } contract SamplePlugin is BasePlugin { - - constructor() BasePlugin("Sample Plugin", "1.0.0", false) { - - } + constructor() BasePlugin("Sample Plugin", "1.0.0", false) {} function executeFromPlugin( ISafeProtocolManager manager,