Skip to content

Commit

Permalink
Merge branch 'master' into PeekMaxMut-has_parent
Browse files Browse the repository at this point in the history
  • Loading branch information
tov authored Dec 20, 2021
2 parents 0812b36 + a888a39 commit 0b056e9
Show file tree
Hide file tree
Showing 10 changed files with 552 additions and 354 deletions.
8 changes: 8 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
version: 2
updates:
- package-ecosystem: cargo
directory: "/"
schedule:
interval: daily
time: "11:00"
open-pull-requests-limit: 10
92 changes: 92 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
on: [push, pull_request]

name: CI

jobs:
check:
name: Check
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.experimental }}
strategy:
matrix:
rust:
- stable
- 1.41.1
flags:
- --lib --tests
- --lib --tests --features=serde
experimental: [false]
include:
- rust: nightly
flags: --all-targets --features=serde
experimental: true
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
- uses: actions-rs/cargo@v1
with:
command: check
args: ${{ matrix.flags }}

test:
name: Test Suite
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.experimental }}
strategy:
matrix:
rust:
- stable
- 1.41.1
flags:
- ""
- --features=serde
experimental: [false]
include:
- rust: nightly
flags: --features=serde
experimental: true
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
- uses: actions-rs/cargo@v1
with:
command: test
args: ${{ matrix.flags }}

clippy:
name: Clippy
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.experimental }}
strategy:
matrix:
rust:
- stable
- 1.41.1
flags:
- ""
- --features=serde
experimental: [false]
include:
- rust: nightly
flags: --features=serde
experimental: true
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
- run: rustup component add clippy
- uses: actions-rs/cargo@v1
with:
command: clippy
args: ${{ matrix.flags }} -- -D warnings
47 changes: 0 additions & 47 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ this to your `Cargo.toml`:
min-max-heap = "1.3.0"
```

This crate supports Rust version 1.32.0 and later.
This crate supports Rust version 1.41.1 and later.

## References

Expand Down
Loading

0 comments on commit 0b056e9

Please sign in to comment.