aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/ci.yaml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/ci.yaml')
-rw-r--r--.github/workflows/ci.yaml23
1 files changed, 21 insertions, 2 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index 8374189..6f0e4b9 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -16,7 +16,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
- rust: [stable, 1.36.0]
+ rust: [stable, 1.54.0]
steps:
- uses: actions/checkout@master
@@ -39,6 +39,25 @@ jobs:
command: test
args: --all
+ clippy:
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v2
+
+ - uses: actions-rs/toolchain@v1
+ with:
+ profile: minimal
+ toolchain: nightly
+ override: true
+ components: clippy
+
+ - name: clippy
+ uses: actions-rs/cargo@v1
+ with:
+ command: clippy
+ args: --all-targets --all-features -- -D warnings
+
check_fmt_and_docs:
name: Checking fmt and docs
runs-on: ubuntu-latest
@@ -54,4 +73,4 @@ jobs:
run: cargo fmt --all -- --check
- name: Docs
- run: cargo doc \ No newline at end of file
+ run: cargo doc