Skip to content

build(deps): bump github.com/golangci/golangci-lint from 1.52.2 to 1.54.0 #4256

build(deps): bump github.com/golangci/golangci-lint from 1.52.2 to 1.54.0

build(deps): bump github.com/golangci/golangci-lint from 1.52.2 to 1.54.0 #4256

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: 30
env:
GENESIS_DESMOS_VERSION: "v4.8.1"
GENESIS_URL: "https://github.com/desmos-labs/states/raw/main/morpheus-apollo-3-10883000.json"
UPGRADE_NAME: "v5.0.0"
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
- name: Setup Go 🧰
uses: actions/setup-go@v4
with:
go-version: 1.19
- 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 50