Skip to content

Commit f20d988

Browse files
committed
Validate TokenStaking upgradeability with OZ Upgrades on CI
1 parent 3548b65 commit f20d988

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/oz-upgrades.yml

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: OpenZeppelin Upgrades Validation
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
workflow_dispatch:
9+
10+
jobs:
11+
code-lint-and-format:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v3
15+
16+
- uses: actions/setup-node@v3
17+
with:
18+
node-version: "18"
19+
cache: "yarn"
20+
21+
- name: Install dependencies
22+
run: yarn install
23+
24+
- name: Validate TokenStaking Upgrade
25+
run: yarn hardhat deploy --tags ValidateUpgradeTokenStaking --network ${{ secrets.MAINNET_ETH_HOSTNAME_HTTP }}

0 commit comments

Comments
 (0)