chore(deps): bump cw-controllers from 1.0.1 to 1.1.1 in /cosmwasm #574
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 | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
- release/** | |
jobs: | |
test-unit-relayer: | |
runs-on: ubuntu-latest | |
timeout-minutes: 15 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: technote-space/[email protected] | |
with: | |
PATTERNS: | | |
cw-relayer/**/**.go | |
cw-relayer/go.mod | |
cw-relayer/go.sum | |
- uses: actions/setup-go@v4 | |
if: env.GIT_DIFF | |
with: | |
go-version: 1.19 | |
cache: true | |
cache-dependency-path: cw-relayer/go.sum | |
- name: Test Relayer | |
if: env.GIT_DIFF | |
run: | | |
make test-unit-relayer | |
test-unit-contract: | |
runs-on: ubuntu-latest | |
timeout-minutes: 15 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: technote-space/[email protected] | |
with: | |
PATTERNS: | | |
cosmwasm/contracts/price-feed/src/* | |
cosmwasm/contracts/price-feed/Cargo.toml | |
cosmwasm/Cargo.toml | |
cosmwasm/Cargo.lock | |
- uses: actions-rs/toolchain@v1 | |
if: env.GIT_DIFF | |
with: | |
toolchain: stable | |
- name: Test Contracts | |
if: env.GIT_DIFF | |
run: | | |
make test-unit-contract | |
test-e2e: | |
runs-on: ubuntu-latest | |
timeout-minutes: 20 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: technote-space/[email protected] | |
with: | |
PATTERNS: | | |
cw-relayer/**/**.go | |
cw-relayer/go.mod | |
cw-relayer/go.sum | |
cosmwasm/contracts/price-feed/src/* | |
cosmwasm/contracts/price-feed/Cargo.toml | |
cosmwasm/Cargo.toml | |
cosmwasm/Cargo.lock | |
- uses: actions/setup-go@v4 | |
if: env.GIT_DIFF | |
with: | |
go-version: 1.19 | |
cache: true | |
cache-dependency-path: cw-relayer/go.sum | |
- name: Generate Cargo.lock | |
if: env.GIT_DIFF | |
run: | | |
cargo fetch --verbose --manifest-path ./cosmwasm/Cargo.toml | |
- name: cache docker layer | |
uses: satackey/[email protected] | |
if: env.GIT_DIFF | |
continue-on-error: true | |
- name: Test E2E | |
if: env.GIT_DIFF | |
run: | | |
make test-e2e |