chore(deps): bump cosmossdk.io/x/tx from 0.9.1 to 0.13.1 #1127
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: Tests / Code Coverage | |
on: | |
pull_request: | |
merge_group: | |
push: | |
branches: | |
- main | |
permissions: | |
contents: read | |
concurrency: | |
group: ci-${{ github.ref }}-tests | |
cancel-in-progress: true | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: 1.20.2 | |
cache: true | |
cache-dependency-path: go.sum | |
- uses: technote-space/[email protected] | |
id: git_diff | |
with: | |
PATTERNS: | | |
**/*.go | |
go.mod | |
go.sum | |
- name: tests | |
if: env.GIT_DIFF | |
run: | | |
make test | |
test-e2e: | |
runs-on: ubuntu-latest | |
timeout-minutes: 25 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: technote-space/[email protected] | |
with: | |
PATTERNS: | | |
**/**.go | |
go.mod | |
go.sum | |
- uses: actions/setup-go@v4 | |
if: env.GIT_DIFF | |
with: | |
go-version: "1.20" | |
cache: true | |
# In this step, this action saves a list of existing images, the cache is | |
# created without them in the post run. It also restores the cache if it | |
# exists. | |
- name: cache docker layer | |
uses: satackey/[email protected] | |
if: env.GIT_DIFF | |
# Ignore the failure of a step and avoid terminating the job. | |
continue-on-error: true | |
- name: Test E2E | |
if: env.GIT_DIFF | |
run: | | |
make test-integration |