Skip to content

update smoltcp

update smoltcp #306

Workflow file for this run

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
- run: cargo fmt --all
- uses: autofix-ci/action@8bc06253bec489732e5f9c52884c7cace15c0160