chore(deps): bump zizmorcore/zizmor-action from 0.5.7 to 0.6.0 #412
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 | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: > | |
| ci-${{ github.workflow }}-${{ | |
| github.event_name == 'pull_request' && | |
| github.event.pull_request.number || | |
| github.ref | |
| }} | |
| cancel-in-progress: true | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| env: | |
| CARGO_TERM_COLOR: always | |
| RUST_BACKTRACE: 1 | |
| jobs: | |
| build: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: | |
| - ubuntu-latest | |
| - macos-latest | |
| - windows-latest | |
| include: | |
| - os: ubuntu-latest | |
| target: x86_64-unknown-linux-gnu | |
| - os: macos-latest | |
| target: x86_64-apple-darwin | |
| - os: windows-latest | |
| target: x86_64-pc-windows-msvc | |
| steps: | |
| - name: Disable Git autocrlf on Windows | |
| if: matrix.os == 'windows-latest' | |
| shell: pwsh | |
| run: | | |
| git config --global core.autocrlf false | |
| git config --global core.eol lf | |
| - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | |
| with: | |
| persist-credentials: false | |
| - name: Install Rust toolchain | |
| uses: actions-rust-lang/setup-rust-toolchain@166cdcfd11aee3cb47222f9ddb555ce30ddb9659 # v1.17.0 | |
| with: | |
| target: ${{ matrix.target }} | |
| cache: true | |
| cache-bin: false | |
| # toolchain, components, etc. are specified in rust-toolchain.toml | |
| - name: Read just version | |
| id: just_version | |
| shell: bash | |
| run: | | |
| version="$(grep '^just_version :=' justfile | cut -d '"' -f 2)" | |
| echo "version=$version" >> "$GITHUB_OUTPUT" | |
| - name: Install just | |
| uses: taiki-e/cache-cargo-install-action@417450f3c33ee20393705369577571770643d4c7 # v3.0.7 | |
| with: | |
| tool: just@${{ steps.just_version.outputs.version }} | |
| - name: Export tool versions | |
| id: tool_versions | |
| shell: bash | |
| run: | | |
| { | |
| echo "CARGO_MACHETE_VERSION=$(just --evaluate cargo_machete_version)" | |
| echo "CARGO_NEXTEST_VERSION=$(just --evaluate cargo_nextest_version)" | |
| echo "DPRINT_VERSION=$(just --evaluate dprint_version)" | |
| echo "RUMDL_VERSION=$(just --evaluate rumdl_version)" | |
| echo "TAPLO_VERSION=$(just --evaluate taplo_version)" | |
| echo "TYPOS_VERSION=$(just --evaluate typos_version)" | |
| echo "UV_VERSION=$(just --evaluate uv_version)" | |
| echo "ZIZMOR_VERSION=$(just --evaluate zizmor_version)" | |
| } >> "$GITHUB_OUTPUT" | |
| - name: Set up Python | |
| uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0 | |
| with: | |
| python-version-file: ".python-version" | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@11f9893b081a58869d3b5fccaea48c9e9e46f990 # v8.3.2 | |
| with: | |
| version: ${{ steps.tool_versions.outputs.UV_VERSION }} | |
| enable-cache: true | |
| - name: Sync Python tooling | |
| run: uv sync --locked --group dev | |
| - name: Install dprint | |
| uses: taiki-e/cache-cargo-install-action@417450f3c33ee20393705369577571770643d4c7 # v3.0.7 | |
| with: | |
| tool: dprint@${{ steps.tool_versions.outputs.DPRINT_VERSION }} | |
| - name: Install rumdl | |
| uses: taiki-e/cache-cargo-install-action@417450f3c33ee20393705369577571770643d4c7 # v3.0.7 | |
| with: | |
| tool: rumdl@${{ steps.tool_versions.outputs.RUMDL_VERSION }} | |
| - name: Install taplo | |
| id: install-taplo | |
| continue-on-error: ${{ matrix.os == 'windows-latest' }} | |
| uses: taiki-e/cache-cargo-install-action@417450f3c33ee20393705369577571770643d4c7 # v3.0.7 | |
| with: | |
| tool: taplo-cli@${{ steps.tool_versions.outputs.TAPLO_VERSION }} | |
| - name: Install taplo on Windows after cached install failure | |
| if: matrix.os == 'windows-latest' && steps.install-taplo.outcome == 'failure' | |
| shell: pwsh | |
| run: cargo install --locked taplo-cli --version $env:TAPLO_VERSION | |
| env: | |
| TAPLO_VERSION: ${{ steps.tool_versions.outputs.TAPLO_VERSION }} | |
| - name: Install typos | |
| uses: taiki-e/cache-cargo-install-action@417450f3c33ee20393705369577571770643d4c7 # v3.0.7 | |
| with: | |
| tool: typos-cli@${{ steps.tool_versions.outputs.TYPOS_VERSION }} | |
| - name: Install zizmor | |
| uses: taiki-e/cache-cargo-install-action@417450f3c33ee20393705369577571770643d4c7 # v3.0.7 | |
| with: | |
| tool: zizmor@${{ steps.tool_versions.outputs.ZIZMOR_VERSION }} | |
| - name: Install cargo-machete | |
| uses: taiki-e/cache-cargo-install-action@417450f3c33ee20393705369577571770643d4c7 # v3.0.7 | |
| with: | |
| tool: cargo-machete@${{ steps.tool_versions.outputs.CARGO_MACHETE_VERSION }} | |
| - name: Install cargo-nextest | |
| uses: taiki-e/cache-cargo-install-action@417450f3c33ee20393705369577571770643d4c7 # v3.0.7 | |
| with: | |
| tool: cargo-nextest@${{ steps.tool_versions.outputs.CARGO_NEXTEST_VERSION }} | |
| - name: Run CI checks | |
| run: just ci |