Enable stargate feature on contracts (#394) #592
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: interchain-test | |
permissions: | |
contents: read | |
on: | |
push: | |
branches: [main] | |
paths: | |
- interchain/** | |
- framework/** | |
- modules/** | |
pull_request: | |
paths: | |
- interchain/** | |
- framework/** | |
- modules/** | |
env: | |
SCCACHE_GHA_ENABLED: "true" | |
RUSTC_WRAPPER: "sccache" | |
jobs: | |
required: | |
runs-on: ubuntu-latest | |
name: ubuntu / stable | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- uses: webfactory/ssh-agent@v0.8.0 | |
with: | |
ssh-private-key: | | |
${{ secrets.SSH_PRIVATE_KEY_MULTI_TEST }} | |
${{ secrets.SSH_PRIVATE_KEY_CW_ORCH_INTERCHAIN }} | |
- name: Setup sccache | |
uses: mozilla-actions/sccache-action@v0.0.3 | |
with: | |
version: "v0.4.2" | |
- name: Install stable | |
uses: dtolnay/rust-toolchain@master | |
with: | |
toolchain: stable | |
- name: cargo generate-lockfile | |
if: hashFiles('Cargo.lock') == '' | |
working-directory: ./interchain | |
run: cargo generate-lockfile | |
- uses: taiki-e/install-action@nextest | |
# https://twitter.com/jonhoo/status/1571290371124260865 | |
- name: cargo test --locked | |
working-directory: ./interchain | |
run: cargo nextest run --test-threads 1 --retries 3 |