Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump MSRV and policy #10

Merged
merged 2 commits into from Dec 3, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/check.yml
Expand Up @@ -6,10 +6,10 @@ jobs:
clippy:
strategy:
matrix:
include:
- platform: macos
- platform: ubuntu
- platform: windows
platform:
- macos
- ubuntu
- windows

name: "Clippy on ${{ matrix.platform }}"
runs-on: "${{ matrix.platform }}-latest"
Expand Down
20 changes: 7 additions & 13 deletions .github/workflows/main.yml
Expand Up @@ -8,19 +8,13 @@ jobs:
check:
strategy:
matrix:
include:
- platform: macos
features: default
- platform: macos
features: with-tokio
- platform: ubuntu
features: default
- platform: ubuntu
features: with-tokio
- platform: windows
features: default
- platform: windows
features: with-tokio
platform:
- macos
- ubuntu
- windows
features:
- default
- with-tokio

name: "Check on ${{ matrix.platform }} (feat: ${{ matrix.features }})"
runs-on: "${{ matrix.platform }}-latest"
Expand Down
47 changes: 10 additions & 37 deletions .github/workflows/merge.yml
Expand Up @@ -9,43 +9,16 @@ jobs:
check:
strategy:
matrix:
include:
- platform: macos
toolchain: stable
features: default
- platform: macos
toolchain: 1.51.0
features: default
- platform: macos
toolchain: stable
features: with-tokio
- platform: macos
toolchain: 1.51.0
features: with-tokio
- platform: ubuntu
toolchain: stable
features: default
- platform: ubuntu
toolchain: 1.51.0
features: default
- platform: ubuntu
toolchain: stable
features: with-tokio
- platform: ubuntu
toolchain: 1.51.0
features: with-tokio
- platform: windows
toolchain: stable
features: default
- platform: windows
toolchain: 1.51.0
features: default
- platform: windows
toolchain: stable
features: with-tokio
- platform: windows
toolchain: 1.51.0
features: with-tokio
platform:
- macos
- ubuntu
- windows
toolchain:
- stable
- 1.60.0
features:
- default
- with-tokio

name: "Test on ${{ matrix.platform }} with Rust ${{ matrix.toolchain }} (feat: ${{ matrix.features }})"
runs-on: "${{ matrix.platform }}-latest"
Expand Down
3 changes: 2 additions & 1 deletion Cargo.toml
Expand Up @@ -12,8 +12,9 @@ homepage = "https://github.com/watchexec/command-group"
repository = "https://github.com/watchexec/command-group"
readme = "README.md"

edition = "2018"
edition = "2021"
exclude = ["/bin", "/.github"]
rust-version = "1.60.0"

[dependencies]
async-trait = { version = "0.1.50", optional = true }
Expand Down
4 changes: 2 additions & 2 deletions README.md
@@ -1,6 +1,5 @@
[![Crate release version](https://flat.badgen.net/crates/v/command-group)](https://crates.io/crates/command-group)
[![Crate license: Apache 2.0 or MIT](https://flat.badgen.net/badge/license/Apache%202.0%20or%20MIT)][copyright]
![MSRV: 1.51.0 (breaking)](https://flat.badgen.net/badge/MSRV/1.51.0%20%28breaking%29/green)
[![Bors enabled](https://bors.tech/images/badge_small.svg)](https://app.bors.tech/repositories/45673)
[![CI status on main branch](https://github.com/watchexec/command-group/actions/workflows/main.yml/badge.svg)](https://github.com/watchexec/command-group/actions/workflows/main.yml)

Expand All @@ -10,7 +9,8 @@ _Extension to [`Command`](https://doc.rust-lang.org/std/process/struct.Command.h

- **[API documentation][docs]**.
- [Dual-licensed][copyright] with Apache 2.0 and MIT.
- Minimum Supported Rust Version: 1.51.0.
- Minimum Supported Rust Version: 1.60.0.
- This is set as: 5 versions before stable, at the time of publish.

[caretaker]: ./CARETAKERS.md
[copyright]: ./COPYRIGHT
Expand Down