Skip to content

Commit

Permalink
Validate TokenStaking upgradeability with OZ Upgrades on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
cygnusv committed Nov 28, 2023
1 parent 3548b65 commit c8e5825
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/oz-upgrades.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: OpenZeppelin Upgrades Validation

on:
push:
branches:
- main
pull_request:
workflow_dispatch:

jobs:
oz-upgrades:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- uses: actions/setup-node@v3
with:
node-version: "18"
cache: "yarn"

- name: Install dependencies
run: yarn install

- name: Validate TokenStaking Upgrade
env:
CHAIN_API_URL: ${{ secrets.MAINNET_ETH_HOSTNAME_HTTP }}
run: yarn hardhat deploy --tags ValidateUpgradeTokenStaking --network mainnet

0 comments on commit c8e5825

Please sign in to comment.