From b536cde80e9d90fd1eadb8e4c7464bfa866f1ae9 Mon Sep 17 00:00:00 2001 From: StefanIliev545 Date: Mon, 6 Feb 2023 19:28:42 +0200 Subject: [PATCH] Moved bits around. --- .github/workflows/build-pr.yml | 14 -------------- .github/workflows/hardhat-pr-check.yml | 7 +++++++ 2 files changed, 7 insertions(+), 14 deletions(-) diff --git a/.github/workflows/build-pr.yml b/.github/workflows/build-pr.yml index 672037b769..9cdf4936fb 100644 --- a/.github/workflows/build-pr.yml +++ b/.github/workflows/build-pr.yml @@ -15,20 +15,6 @@ jobs: runs-on: self-hosted steps: - uses: actions/checkout@v2 - - uses: actions/setup-node@v3 - with: - node-version: 18 - - name: Install abigen - run: | - sudo add-apt-repository -y ppa:ethereum/ethereum - sudo apt-get update - sudo apt-get -y install ethereum - - - name: Install dependencies - run: cd contracts && npm install - - name: Generate Solidity Contract Bindings - run: cd contracts && npx hardhat generate-abi-bindings --output-dir generated - - name: Set up Go uses: actions/setup-go@v2 with: diff --git a/.github/workflows/hardhat-pr-check.yml b/.github/workflows/hardhat-pr-check.yml index 737a632433..3fa96083e0 100644 --- a/.github/workflows/hardhat-pr-check.yml +++ b/.github/workflows/hardhat-pr-check.yml @@ -16,8 +16,15 @@ jobs: - uses: actions/setup-node@v3 with: node-version: 18 + - name: Install abigen + run: | + sudo add-apt-repository -y ppa:ethereum/ethereum + sudo apt-get update + sudo apt-get -y install ethereum - name: Install dependencies run: cd contracts && npm install + - name: Generate Solidity Contract Bindings + run: cd contracts && npx hardhat generate-abi-bindings --output-dir generated - name: Hardhat test run: cd contracts && npx hardhat test \ No newline at end of file