Skip to content

Commit

Permalink
Merge pull request #211 from keep-network/update-gha-workflows
Browse files Browse the repository at this point in the history
Update GHA workflows
  • Loading branch information
nkuba committed Apr 27, 2022
2 parents 2431c20 + ac4ce1a commit 4ce50f0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/contracts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,12 +159,13 @@ jobs:
- name: Install needed dependencies
run: yarn install --frozen-lockfile

# If we don't remove the `keep-core` and `tbtc` contracts from `node-modules`,
# the `etherscan-verify` plugins tries to verify them, which is not desired.
# If we don't remove the dependencies' contracts from `node-modules`, the
# `etherscan-verify` plugins tries to verify them, which is not desired.
- name: Prepare for verification on Etherscan
run: |
rm -rf ./node_modules/@keep-network/keep-core
rm -rf ./node_modules/@keep-network/tbtc
rm -rf ./node_modules/@threshold-network/solidity-contracts
- name: Verify contracts on Etherscan
env:
Expand Down Expand Up @@ -218,7 +219,7 @@ jobs:
- name: Install Slither
env:
SLITHER_VERSION: 0.8.0
SLITHER_VERSION: 0.8.3
run: pip3 install slither-analyzer==$SLITHER_VERSION

- name: Install dependencies
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ on:
- main
paths:
- "contracts/**"
- "deploy/**"
- "hardhat.config.ts"
- "package.json"
- "yarn.lock"
workflow_dispatch:
Expand Down

0 comments on commit 4ce50f0

Please sign in to comment.