diff --git a/.github/workflows/sims-045.yml b/.github/workflows/sims-045.yml index 8fa9e519c2c..9392befa254 100644 --- a/.github/workflows/sims-045.yml +++ b/.github/workflows/sims-045.yml @@ -10,8 +10,8 @@ on: jobs: cleanup-runs: permissions: - actions: write # for rokroskar/workflow-run-cleanup-action to obtain workflow name & cancel it - contents: read # for rokroskar/workflow-run-cleanup-action to obtain branch + actions: write # for rokroskar/workflow-run-cleanup-action to obtain workflow name & cancel it + contents: read # for rokroskar/workflow-run-cleanup-action to obtain branch runs-on: buildjet-4vcpu-ubuntu-2004 steps: - uses: rokroskar/workflow-run-cleanup-action@master @@ -23,6 +23,8 @@ jobs: if: "!contains(github.event.head_commit.message, 'skip-sims')" steps: - uses: actions/checkout@v3 + with: + ref: "release/v0.45.x" - uses: actions/setup-go@v3 with: go-version: 1.18 @@ -115,9 +117,6 @@ jobs: runs-on: ubuntu-latest if: ${{ success() }} steps: - - name: Check out repository - uses: actions/checkout@v3 - - name: Get previous workflow status uses: ./.github/actions/last-workflow-status id: last_status diff --git a/.github/workflows/sims-046.yml b/.github/workflows/sims-046.yml index 0126e3100c3..afbc656b15c 100644 --- a/.github/workflows/sims-046.yml +++ b/.github/workflows/sims-046.yml @@ -10,8 +10,8 @@ on: jobs: cleanup-runs: permissions: - actions: write # for rokroskar/workflow-run-cleanup-action to obtain workflow name & cancel it - contents: read # for rokroskar/workflow-run-cleanup-action to obtain branch + actions: write # for rokroskar/workflow-run-cleanup-action to obtain workflow name & cancel it + contents: read # for rokroskar/workflow-run-cleanup-action to obtain branch runs-on: buildjet-4vcpu-ubuntu-2004 steps: - uses: rokroskar/workflow-run-cleanup-action@master @@ -23,6 +23,8 @@ jobs: if: "!contains(github.event.head_commit.message, 'skip-sims')" steps: - uses: actions/checkout@v3 + with: + ref: "release/v0.46.x" - uses: actions/setup-go@v3 with: go-version: 1.18 @@ -115,9 +117,6 @@ jobs: runs-on: ubuntu-latest if: ${{ success() }} steps: - - name: Check out repository - uses: actions/checkout@v3 - - name: Get previous workflow status uses: ./.github/actions/last-workflow-status id: last_status diff --git a/.github/workflows/sims.yml b/.github/workflows/sims.yml index dbd248433c2..faa29ffc9d8 100644 --- a/.github/workflows/sims.yml +++ b/.github/workflows/sims.yml @@ -10,8 +10,8 @@ on: jobs: cleanup-runs: permissions: - actions: write # for rokroskar/workflow-run-cleanup-action to obtain workflow name & cancel it - contents: read # for rokroskar/workflow-run-cleanup-action to obtain branch + actions: write # for rokroskar/workflow-run-cleanup-action to obtain workflow name & cancel it + contents: read # for rokroskar/workflow-run-cleanup-action to obtain branch runs-on: buildjet-4vcpu-ubuntu-2004 steps: - uses: rokroskar/workflow-run-cleanup-action@master @@ -21,8 +21,8 @@ jobs: build: permissions: - contents: read # for actions/checkout to fetch code - pull-requests: read # for technote-space/get-diff-action to get git reference + contents: read # for actions/checkout to fetch code + pull-requests: read # for technote-space/get-diff-action to get git reference runs-on: buildjet-4vcpu-ubuntu-2004 if: "!contains(github.event.head_commit.message, 'skip-sims')" steps: @@ -114,9 +114,6 @@ jobs: runs-on: ubuntu-latest if: ${{ success() }} steps: - - name: Check out repository - uses: actions/checkout@v3 - - name: Get previous workflow status uses: ./.github/actions/last-workflow-status id: last_status diff --git a/crypto/ledger/ledger_real.go b/crypto/ledger/ledger_real.go index 5ddca254f02..ad8f8fdf236 100644 --- a/crypto/ledger/ledger_real.go +++ b/crypto/ledger/ledger_real.go @@ -4,8 +4,6 @@ package ledger import ( - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - "github.com/cosmos/cosmos-sdk/crypto/types" ledger "github.com/cosmos/ledger-cosmos-go" )