summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2022-11-28 17:01:08 +0100
committerMatthias Beyer <mail@beyermatthias.de>2022-11-28 17:18:52 +0100
commit5ce8cb60edf7c1acba7f94f066000cbb4612ae4f (patch)
tree35e3149fed0c92a22aec4f51b6f9c62e6f04b7cd
parente18bda29abc19eb7807784775fc3a3017939a69e (diff)
actions: cron: Replace actions-rs with dtolnay
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
-rw-r--r--.github/workflows/cron.yml20
1 files changed, 5 insertions, 15 deletions
diff --git a/.github/workflows/cron.yml b/.github/workflows/cron.yml
index 400c605..264c111 100644
--- a/.github/workflows/cron.yml
+++ b/.github/workflows/cron.yml
@@ -20,17 +20,12 @@ jobs:
uses: actions/checkout@v3.1.0
- name: Install toolchain
- uses: actions-rs/toolchain@v1
+ uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
- minimal: true
- override: true
- name: Run cargo check
- uses: actions-rs/cargo@v1
- with:
- command: check
- args: --all --all-features --examples
+ run: cargo check --all --all-features --examples
clippy:
needs: [check]
@@ -46,16 +41,11 @@ jobs:
uses: actions/checkout@v3.1.0
- name: Install toolchain
- uses: actions-rs/toolchain@v1
+ uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
- minimal: true
- override: true
components: clippy
- - name: Run cargo clippy
- uses: actions-rs/cargo@v1
- with:
- command: clippy
- args: --all-targets --all-features -- -D warnings
+ - name: Run cargo check
+ run: cargo clippy --all --all-features -- -D warnings