Skip to content

Commit

Permalink
Merge pull request #181 from matheus-consoli/ci-improvements
Browse files Browse the repository at this point in the history
Add checks for msrv and semver
  • Loading branch information
yoshuawuyts authored Apr 19, 2024
2 parents dec5ce0 + 93d5e17 commit 1eb7a23
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,13 @@ jobs:
command: test
args: --all

msrv:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: taiki-e/install-action@cargo-hack
- run: cargo hack check --rust-version --workspace --all-targets --ignore-private

miri:
name: "Build and test (miri, nightly)"
runs-on: ubuntu-latest
Expand Down Expand Up @@ -84,3 +91,11 @@ jobs:

- name: Docs
run: cargo doc

semver-checks:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Check semver
uses: obi1kenobi/cargo-semver-checks-action@v2
5 changes: 3 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@ documentation = "https://docs.rs/futures-concurrency"
description = "Structured concurrency operations for async Rust"
readme = "README.md"
edition = "2021"
keywords = []
categories = []
keywords = ["async", "concurrency"]
categories = ["asynchronous", "concurrency"]
authors = ["Yoshua Wuyts <[email protected]>"]
rust-version = "1.75.0"

[profile.bench]
debug = true
Expand Down

0 comments on commit 1eb7a23

Please sign in to comment.