Add just and devcontainer CLI to mise.toml and document just usage #951
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: Linting | |
| on: | |
| push: | |
| branches: | |
| - "**" | |
| tags-ignore: | |
| - "ubi-*" | |
| pull_request: | |
| permissions: read-all | |
| env: | |
| CRATE_NAME: precious | |
| GITHUB_TOKEN: ${{ github.token }} | |
| RUST_BACKTRACE: 1 | |
| jobs: | |
| lint: | |
| name: Check that code is lint clean using precious | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Cache cargo & target directories | |
| uses: Swatinem/rust-cache@v2 | |
| - name: Install toolchain | |
| uses: dtolnay/rust-toolchain@stable | |
| - uses: jdx/mise-action@v3 | |
| - name: Run precious | |
| run: | | |
| mise exec -- precious lint -a |