build(deps): bump goreleaser/goreleaser-action from 5.0.0 to 6.1.0 #4875
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test on chain upgrade | |
# On chain upgrade workflow tests the on-chain upgrade procedure. | |
# This workflow is run on pushes to master & every Pull Requests where a .go, .mod, .sum have been changed | |
on: | |
pull_request: | |
types: [opened, synchronize, labeled, unlabeled] | |
push: | |
branches: | |
- master | |
jobs: | |
Cleanup-runs: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Cleanup 🧹 | |
uses: rokroskar/workflow-run-cleanup-action@master | |
env: | |
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | |
if: "!startsWith(github.ref, 'refs/tags/') && github.ref != 'refs/heads/master'" | |
Perform-upgrade: | |
if: "contains(github.event.pull_request.labels.*.name, 'requires-upgrade')" | |
runs-on: ubuntu-latest | |
timeout-minutes: 60 | |
env: | |
GENESIS_DESMOS_VERSION: "v6.0.0" | |
GENESIS_URL: "https://github.com/desmos-labs/states/raw/main/morpheus-apollo-3-13462545.json" | |
UPGRADE_NAME: "v6.2.0" | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/checkout@v4 | |
- name: Setup Go 🧰 | |
uses: actions/setup-go@v5 | |
with: | |
go-version: '1.20' | |
- name: Install Desmos 🔧 | |
run: make clean install | |
- name: Start testnet ⛓ | |
run: | | |
make upgrade-testnet-start \ | |
GENESIS_VERSION="$GENESIS_DESMOS_VERSION" \ | |
GENESIS_URL="$GENESIS_URL" \ | |
UPGRADE_NAME="$UPGRADE_NAME" | |
- name: Submit upgrade ✅ | |
run: | | |
./contrib/upgrade_testnet/submit_upgrade_proposal.sh 4 $GENESIS_DESMOS_VERSION $UPGRADE_NAME 75 |