Rename build_and_test, add clippy actions

This commit is contained in:
Flori Weber 2023-06-19 16:21:53 +02:00
parent cac12decad
commit c5cdb57838
2 changed files with 16 additions and 2 deletions

View File

@ -1,4 +1,4 @@
name: Rust name: Build and Test
on: on:
push: push:
@ -10,7 +10,7 @@ env:
CARGO_TERM_COLOR: always CARGO_TERM_COLOR: always
jobs: jobs:
build_and_test: rust:
runs-on: ubuntu-latest runs-on: ubuntu-latest

14
.github/workflows/clippy.yml vendored Normal file
View File

@ -0,0 +1,14 @@
on: push
name: Clippy check
# Make sure CI fails on all warnings, including Clippy lints
env:
RUSTFLAGS: "-Dwarnings"
jobs:
clippy_check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run Clippy
run: cargo clippy --all-targets --all-features