deps: update rust crate cargo-util-schemas to v0.10.2 (#313) #974
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: CI | |
| on: | |
| - push | |
| - pull_request | |
| permissions: | |
| contents: read | |
| env: | |
| CARGO_TERM_COLOR: always | |
| RUST_BACKTRACE: full | |
| jobs: | |
| test: | |
| name: Test | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| # Always run main branch builds to completion. | |
| fail-fast: ${{ github.event_name == 'pull_request' || | |
| (github.ref != 'refs/heads/main' && | |
| !startsWith(github.ref, 'refs/tags/')) }} | |
| matrix: | |
| os: [macos-latest, windows-latest, ubuntu-latest] | |
| steps: | |
| - name: Configure git | |
| run: | | |
| git config --global core.autocrlf false | |
| git config --global core.symlinks true | |
| git config --global fetch.parallel 32 | |
| - uses: actions/checkout@v3 | |
| - uses: dtolnay/rust-toolchain@stable | |
| - uses: Swatinem/rust-cache@v1 | |
| - name: Lint | |
| run: cargo clippy --locked -- -D warnings | |
| - name: Run tests | |
| run: cargo test --locked |