Skip to content

Use GITHUB_SHA instead of hash of Cargo.lock for build caches #6

Use GITHUB_SHA instead of hash of Cargo.lock for build caches

Use GITHUB_SHA instead of hash of Cargo.lock for build caches #6

name: Test lst adapter (osmosis)
on:
pull_request:
branches:
- main
paths:
- 'smart-contracts/contracts/lst-adapter-osmosis/Cargo.toml'
- 'smart-contracts/contracts/lst-adapter-osmosis/**.rs'
- '.github/workflows/**.yml'
push:
branches:
- main
paths:
- 'smart-contracts/contracts/lst-adapter-osmosis/Cargo.toml'
- 'smart-contracts/contracts/lst-adapter-osmosis/**.rs'
- '.github/workflows/**.yml'
workflow_dispatch:
jobs:
unit-test:
uses: ./.github/workflows/rust_basic.yml
with:
target: 'contract/lst-adapter-osmosis'