Medium-level API: Use fallible to_short_message() instead of implemen… #547
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
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| branches: | |
| - master | |
| workflow_dispatch: | |
| name: Windows x86_64 | |
| jobs: | |
| check: | |
| name: Check code | |
| runs-on: windows-2019 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Install Rust | |
| uses: dtolnay/[email protected] | |
| with: | |
| components: clippy | |
| - name: Rust cache | |
| uses: swatinem/rust-cache@v2 | |
| - name: cargo clippy | |
| run: cargo clippy -- -D warnings | |
| test: | |
| name: Run tests | |
| runs-on: windows-2019 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Install Rust | |
| uses: dtolnay/[email protected] | |
| - name: Rust cache | |
| uses: swatinem/rust-cache@v2 | |
| - name: cargo build | |
| run: cargo build | |
| - name: cargo test | |
| run: cargo test -- --nocapture | |