aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/ci.yml')
-rw-r--r--.github/workflows/ci.yml26
1 files changed, 23 insertions, 3 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index ea91ef1..51809c3 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -19,15 +19,16 @@ jobs:
with:
toolchain: ${{matrix.rust}}
- run: cargo test
+ - run: cargo test --features small
- run: cargo build --tests --features no-panic --release
if: matrix.rust == 'nightly'
msrv:
- name: Rust 1.31.0
+ name: Rust 1.36.0
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- - uses: dtolnay/rust-toolchain@1.31.0
+ - uses: dtolnay/rust-toolchain@1.36.0
- run: cargo build
- run: cargo build --features small
@@ -39,5 +40,24 @@ jobs:
- uses: dtolnay/rust-toolchain@nightly
with:
components: miri
- - run: cargo miri setup
- run: cargo miri test
+ env:
+ MIRIFLAGS: "-Zmiri-tag-raw-pointers"
+
+ clippy:
+ name: Clippy
+ runs-on: ubuntu-latest
+ if: github.event_name != 'pull_request'
+ steps:
+ - uses: actions/checkout@v2
+ - uses: dtolnay/rust-toolchain@clippy
+ - run: cargo clippy --tests -- -Dclippy::all -Dclippy::pedantic
+
+ outdated:
+ name: Outdated
+ runs-on: ubuntu-latest
+ if: github.event_name != 'pull_request'
+ steps:
+ - uses: actions/checkout@v2
+ - uses: dtolnay/install@cargo-outdated
+ - run: cargo outdated --exit-code 1