build(deps): bump install-pinned/pdoc from 7ed463fdd937004663bcdd7b43c303e9df472c92 to c1e2d2c336f5b98e0bba9501619b3b60c9060681 #342
Workflow file for this run
This file contains 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: autofix.ci | |
on: | |
pull_request: | |
permissions: | |
contents: read | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
env: | |
rust_clippy: 1.65 # MSRV | |
jobs: | |
autofix: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/cache@v3 | |
with: | |
path: | | |
~/.cargo/bin/ | |
~/.cargo/registry/index/ | |
~/.cargo/registry/cache/ | |
~/.cargo/git/db/ | |
target/ | |
key: autofix-${{ hashFiles('**/Cargo.lock') }} | |
- run: rustup toolchain install ${{ env.rust_clippy }} --profile minimal --component rustfmt --component clippy | |
- run: rustup default ${{ env.rust_clippy }} | |
- uses: actions/setup-python@v4 | |
with: | |
python-version-file: .github/python-version.txt | |
- if: runner.os == 'Windows' | |
# workaround for https://github.com/rust-lang/cargo/issues/9096 | |
run: cargo build --package windows-redirector | |
- run: cargo clippy --fix --workspace --allow-dirty --exclude macos-certificate-truster | |
- run: cargo fmt --all | |
- uses: autofix-ci/action@8bc06253bec489732e5f9c52884c7cace15c0160 |