chore(deps): bump toml from 0.9.12+spec-1.1.0 to 1.1.4+spec-1.1.0 in the rust-dependencies group #53
Workflow file for this run
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 | |
| concurrency: | |
| group: ci-${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| linux: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 20 | |
| steps: | |
| - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 | |
| with: | |
| persist-credentials: false | |
| - uses: dtolnay/rust-toolchain@451ce45ce31d200b52705aadd15ce75018b006de # 1.89.0 | |
| with: | |
| components: clippy,rustfmt | |
| - name: Install cargo-audit 0.22.2 | |
| run: cargo install cargo-audit --version '=0.22.2' --locked --no-default-features | |
| - name: Audit Rust dependencies | |
| run: cargo audit --deny warnings | |
| - run: cargo fmt --check | |
| - run: cargo clippy --all-targets --locked -- -D warnings | |
| - run: cargo test --locked | |
| - run: cargo build --release --locked | |
| windows: | |
| runs-on: windows-latest | |
| timeout-minutes: 25 | |
| steps: | |
| - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 | |
| with: | |
| persist-credentials: false | |
| - name: Validate PowerShell installer syntax | |
| shell: pwsh | |
| run: | | |
| $tokens = $null | |
| $errors = $null | |
| foreach ($script in @("./bootstrap.ps1", "./install-windows.ps1", "./tests/bootstrap.Tests.ps1", "./tests/bootstrap.Uninstall.Tests.ps1")) { | |
| $errors = $null | |
| [void][System.Management.Automation.Language.Parser]::ParseFile( | |
| (Resolve-Path $script), | |
| [ref]$tokens, | |
| [ref]$errors | |
| ) | |
| if ($errors.Count -gt 0) { | |
| $errors | Format-List | Out-String | Write-Error | |
| exit 1 | |
| } | |
| } | |
| - name: Test bootstrap JSONC and migration fixtures | |
| shell: pwsh | |
| run: ./tests/bootstrap.Tests.ps1 | |
| - name: Test bootstrap uninstall | |
| shell: pwsh | |
| run: ./tests/bootstrap.Uninstall.Tests.ps1 | |
| - uses: dtolnay/rust-toolchain@451ce45ce31d200b52705aadd15ce75018b006de # 1.89.0 | |
| with: | |
| components: clippy,rustfmt | |
| - run: cargo check --tests --locked | |
| - run: cargo clippy --all-targets --locked -- -D warnings | |
| - run: cargo test --locked | |
| - run: cargo build --release --locked |