fix: broken ci #22
This file contains hidden or 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: rust-unit-testable-rust-canister | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| paths: | |
| - rust/unit_testable_rust_canister/** | |
| - .github/workflows/provision-darwin.sh | |
| - .github/workflows/provision-linux.sh | |
| - .github/workflows/rust-unit-testable-rust-canister-example.yml | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| rust-unit-testable-rust-canister-example-darwin: | |
| runs-on: macos-15 | |
| steps: | |
| - uses: actions/checkout@v1 | |
| - name: Provision Darwin | |
| run: bash .github/workflows/provision-darwin.sh | |
| - name: Rust Unit Testable Rust Canister Darwin | |
| run: | | |
| pushd rust/unit_testable_rust_canister | |
| cargo test | |
| popd | |
| rustunit-testable-rust-canister-example-linux: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - uses: actions/checkout@v1 | |
| - name: Provision Linux | |
| run: bash .github/workflows/provision-linux.sh | |
| - name: Rust Unit Testable Rust Canister Linux | |
| run: | | |
| pushd rust/unit_testable_rust_canister | |
| cargo test | |
| popd |