unify workflows

This commit is contained in:
Jonas Kruckenberg committed 2022-12-14 20:36:30 +01:00
1 parent fb9f79dee1
commit 9a1fa9acbc
2 files changed
+19 -42

No files matched your search

+19 -1
View File
@@ -44,4 +44,22 @@ jobs:
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all --all-targets --all-features -- -D warnings
name: clippy
name: clippy
fmt:
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v3
- name: Install rustfmt with nightly toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
override: true
components: rustfmt
- uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check