Skip to content

[CI] Add cachepot -- part2: use cache #144

[CI] Add cachepot -- part2: use cache

[CI] Add cachepot -- part2: use cache #144

name: Dex Router (osmosis)
on:
pull_request:
branches:
- main
paths:
- 'smart-contracts/osmosis/contracts/dex-router-osmosis/Cargo.toml'
- 'smart-contracts/osmosis/contracts/dex-router-osmosis/**.rs'
- '.github/workflows/rust_basic.yml'
- '.github/workflows/dex_router_osmosis.yml'
push:
branches:
- main
paths:
- 'smart-contracts/osmosis/contracts/dex-router-osmosis/Cargo.toml'
- 'smart-contracts/osmosis/contracts/dex-router-osmosis/**.rs'
- '.github/workflows/rust_basic.yml'
- '.github/workflows/dex_router_osmosis.yml'
workflow_dispatch:
jobs:
unit-test:
uses: ./.github/workflows/rust_basic.yml
with:
target: contracts/dex-router-osmosis
workspace: osmosis