Bump assert_cmd from 2.1.1 to 2.1.2 #954
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
| # from https://github.com/jonhoo/rust-ci-conf | |
| permissions: | |
| contents: read | |
| on: | |
| push: | |
| branches: [master] | |
| pull_request: | |
| name: check | |
| jobs: | |
| fmt: | |
| runs-on: ubuntu-latest | |
| name: fmt | |
| steps: | |
| - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 | |
| with: | |
| submodules: true | |
| persist-credentials: false | |
| - name: install rustfmt | |
| run: rustup component add rustfmt | |
| - name: cargo fmt --check --all | |
| run: cargo fmt --check --all | |
| clippy: | |
| runs-on: ubuntu-latest | |
| name: clippy | |
| permissions: | |
| contents: read | |
| checks: write | |
| strategy: | |
| fail-fast: false | |
| steps: | |
| - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 | |
| with: | |
| submodules: true | |
| persist-credentials: false | |
| - name: "Install Rust toolchain" | |
| run: rustup component add clippy | |
| - name: cargo clippy | |
| run: cargo clippy --all-targets --all-features --workspace -- -D warnings | |
| doc: | |
| runs-on: ubuntu-latest | |
| name: doc | |
| steps: | |
| - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 | |
| with: | |
| submodules: true | |
| persist-credentials: false | |
| - name: cargo doc | |
| run: cargo doc --no-deps --all-features | |
| env: | |
| RUSTDOCFLAGS: --cfg docsrs | |
| install: | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, macos-latest] | |
| include: | |
| - os: macos-latest | |
| prefix: /usr/local/bin | |
| - os: ubuntu-latest | |
| prefix: /usr/bin | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 | |
| with: | |
| submodules: true | |
| persist-credentials: false | |
| - name: make install.full | |
| run: make install.full PREFIX=${{ matrix.prefix }} |