Skip to content
This repository has been archived by the owner on Jul 15, 2024. It is now read-only.

Commit

Permalink
ci: Update to Swatinem/rust-cache@v2 from v1.
Browse files Browse the repository at this point in the history
v1 produces warnings when used as it triggers deprecation notices
about functionality that GitHub will be removing.
  • Loading branch information
waywardmonkeys committed Jul 7, 2023
1 parent cb76dd0 commit 9f89412
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
components: clippy

- name: restore cache
uses: Swatinem/rust-cache@v1
uses: Swatinem/rust-cache@v2

- name: cargo clippy glazier
run: cargo clippy --all-targets --features=x11 --no-default-features -- -D warnings
Expand All @@ -69,7 +69,7 @@ jobs:
components: clippy

- name: restore cache
uses: Swatinem/rust-cache@v1
uses: Swatinem/rust-cache@v2

- name: cargo clippy glazier
run: cargo clippy --all-targets --features=wayland --no-default-features -- -D warnings
Expand All @@ -96,7 +96,7 @@ jobs:
# components: clippy
#
# - name: restore cache
# uses: Swatinem/rust-cache@v1
# uses: Swatinem/rust-cache@v2
#
# - name: cargo clippy glazier (wasm)
# run: cargo clippy --all-targets --target wasm32-unknown-unknown -- -D warnings
Expand All @@ -117,7 +117,7 @@ jobs:
toolchain: "1.68"

- name: restore cache
uses: Swatinem/rust-cache@v1
uses: Swatinem/rust-cache@v2

- name: cargo test glazier --doc
run: cargo test --doc --no-default-features --features=image,im
Expand All @@ -140,7 +140,7 @@ jobs:
components: clippy

- name: restore cache
uses: Swatinem/rust-cache@v1
uses: Swatinem/rust-cache@v2

- name: cargo clippy glazier
run: cargo clippy --all-targets -- -D warnings
Expand All @@ -162,7 +162,7 @@ jobs:
toolchain: "beta"

- name: restore cache
uses: Swatinem/rust-cache@v1
uses: Swatinem/rust-cache@v2

- name: cargo test glazier --doc
run: cargo test --doc --features=image,im
Expand All @@ -188,7 +188,7 @@ jobs:
toolchain: "1.68"

- name: restore cache
uses: Swatinem/rust-cache@v1
uses: Swatinem/rust-cache@v2

- name: cargo doc glazier
run: cargo doc --no-deps --document-private-items
Expand Down

0 comments on commit 9f89412

Please sign in to comment.