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