chore(deps): update swatinem/rust-cache action to v2

This commit is contained in:
renovate[bot] 2022-12-01 17:54:48 +00:00 committed by GitHub
parent 6c46ab7708
commit f0d80ae277
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 8 deletions

View file

@ -41,7 +41,7 @@ jobs:
toolchain: ${{ matrix.rust }} toolchain: ${{ matrix.rust }}
profile: minimal profile: minimal
override: true override: true
- uses: Swatinem/rust-cache@v1 - uses: Swatinem/rust-cache@v2
- name: Build - name: Build
run: cargo test --no-run --workspace --all-features run: cargo test --no-run --workspace --all-features
- name: Default features - name: Default features
@ -62,7 +62,7 @@ jobs:
toolchain: 1.64.0 # MSRV toolchain: 1.64.0 # MSRV
profile: minimal profile: minimal
override: true override: true
- uses: Swatinem/rust-cache@v1 - uses: Swatinem/rust-cache@v2
- name: Default features - name: Default features
run: cargo check --workspace --all-targets run: cargo check --workspace --all-targets
- name: All features - name: All features
@ -81,7 +81,7 @@ jobs:
toolchain: stable toolchain: stable
profile: minimal profile: minimal
override: true override: true
- uses: Swatinem/rust-cache@v1 - uses: Swatinem/rust-cache@v2
- name: Check documentation - name: Check documentation
env: env:
RUSTDOCFLAGS: -D warnings RUSTDOCFLAGS: -D warnings
@ -101,7 +101,7 @@ jobs:
profile: minimal profile: minimal
override: true override: true
components: rustfmt components: rustfmt
- uses: Swatinem/rust-cache@v1 - uses: Swatinem/rust-cache@v2
- name: Check formatting - name: Check formatting
run: cargo fmt --all -- --check run: cargo fmt --all -- --check
clippy: clippy:
@ -117,7 +117,7 @@ jobs:
profile: minimal profile: minimal
override: true override: true
components: clippy components: clippy
- uses: Swatinem/rust-cache@v1 - uses: Swatinem/rust-cache@v2
- uses: actions-rs/clippy-check@v1 - uses: actions-rs/clippy-check@v1
with: with:
token: ${{ secrets.GITHUB_TOKEN }} token: ${{ secrets.GITHUB_TOKEN }}

View file

@ -23,7 +23,7 @@ jobs:
toolchain: ${{ matrix.rust }} toolchain: ${{ matrix.rust }}
profile: minimal profile: minimal
override: true override: true
- uses: Swatinem/rust-cache@v1 - uses: Swatinem/rust-cache@v2
- name: Build - name: Build
run: cargo test --no-run --workspace --all-features run: cargo test --no-run --workspace --all-features
- name: Default features - name: Default features
@ -51,7 +51,7 @@ jobs:
profile: minimal profile: minimal
override: true override: true
components: rustfmt components: rustfmt
- uses: Swatinem/rust-cache@v1 - uses: Swatinem/rust-cache@v2
- name: Check formatting - name: Check formatting
run: cargo fmt --all -- --check run: cargo fmt --all -- --check
clippy: clippy:
@ -73,7 +73,7 @@ jobs:
profile: minimal profile: minimal
override: true override: true
components: clippy components: clippy
- uses: Swatinem/rust-cache@v1 - uses: Swatinem/rust-cache@v2
- uses: actions-rs/clippy-check@v1 - uses: actions-rs/clippy-check@v1
with: with:
token: ${{ secrets.GITHUB_TOKEN }} token: ${{ secrets.GITHUB_TOKEN }}