Use GITHUB_SHA instead of hash of Cargo.lock for build caches (#672) #53
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: Test dex router (osmosis) | |
on: | |
pull_request: | |
branches: | |
- main | |
paths: | |
- 'smart-contracts/contracts/dex-router-osmosis/Cargo.toml' | |
- 'smart-contracts/contracts/dex-router-osmosis/**.rs' | |
- '.github/workflows/**.yml' | |
push: | |
branches: | |
- main | |
paths: | |
- 'smart-contracts/contracts/dex-router-osmosis/Cargo.toml' | |
- 'smart-contracts/contracts/dex-router-osmosis/**.rs' | |
- '.github/workflows/**.yml' | |
workflow_dispatch: | |
jobs: | |
unit-test: | |
uses: ./.github/workflows/rust_basic.yml | |
with: | |
target: 'contracts/dex-router-osmosis' | |
test-tube: | |
uses: ./.github/workflows/rust_test_tube.yml | |
with: | |
contract: 'dex-router-osmosis' |