diff --git a/.github/workflows/cargo_build_cache.yml b/.github/workflows/cargo_build_cache.yml index 8509638a3..eb3804b68 100644 --- a/.github/workflows/cargo_build_cache.yml +++ b/.github/workflows/cargo_build_cache.yml @@ -11,19 +11,21 @@ on: jobs: store-build-cache: - - name: Check out repository code - uses: actions/checkout@v3 - - name: Install Rust - uses: dtolnay/rust-toolchain@stable - - name: Rust check - run: cargo check - working-directory: smart-contracts - - name: Store dependencies - uses: actions/cache/save@v4 - with: - path: | - ~/.cargo - ~/go - **/target - key: ${{ runner.os }}-cargo-$GITHUB_SHA - restore-keys: ${{ runner.os }}-cargo + runs-on: ubuntu-latest + steps: + - name: Check out repository code + uses: actions/checkout@v3 + - name: Install Rust + uses: dtolnay/rust-toolchain@stable + - name: Rust check + run: cargo check + working-directory: smart-contracts + - name: Store dependencies + uses: actions/cache/save@v4 + with: + path: | + ~/.cargo + ~/go + **/target + key: ${{ runner.os }}-cargo-$GITHUB_SHA + restore-keys: ${{ runner.os }}-cargo diff --git a/.github/workflows/rust_test_tube.yml b/.github/workflows/rust_test_tube.yml index d1f8dca91..dc4a6cf0c 100644 --- a/.github/workflows/rust_test_tube.yml +++ b/.github/workflows/rust_test_tube.yml @@ -37,6 +37,8 @@ jobs: working-directory: smart-contracts/contracts/dex-router-osmosis - name: Run test-tube tests run: cargo test-tube + env: + PROPTEST_CASES: 10 working-directory: smart-contracts/contracts/${{ inputs.contract }} - name: Clear temporary test-tube files if: always()