Skip to content

Commit 1eb7a23

Browse files
authored
Merge pull request #181 from matheus-consoli/ci-improvements
Add checks for msrv and semver
2 parents dec5ce0 + 93d5e17 commit 1eb7a23

File tree

2 files changed

+18
-2
lines changed

2 files changed

+18
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,13 @@ jobs:
5252
command: test
5353
args: --all
5454

55+
msrv:
56+
runs-on: ubuntu-latest
57+
steps:
58+
- uses: actions/checkout@v4
59+
- uses: taiki-e/install-action@cargo-hack
60+
- run: cargo hack check --rust-version --workspace --all-targets --ignore-private
61+
5562
miri:
5663
name: "Build and test (miri, nightly)"
5764
runs-on: ubuntu-latest
@@ -84,3 +91,11 @@ jobs:
8491

8592
- name: Docs
8693
run: cargo doc
94+
95+
semver-checks:
96+
runs-on: ubuntu-latest
97+
steps:
98+
- name: Checkout
99+
uses: actions/checkout@v3
100+
- name: Check semver
101+
uses: obi1kenobi/cargo-semver-checks-action@v2

Cargo.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@ documentation = "https://docs.rs/futures-concurrency"
77
description = "Structured concurrency operations for async Rust"
88
readme = "README.md"
99
edition = "2021"
10-
keywords = []
11-
categories = []
10+
keywords = ["async", "concurrency"]
11+
categories = ["asynchronous", "concurrency"]
1212
authors = ["Yoshua Wuyts <[email protected]>"]
13+
rust-version = "1.75.0"
1314

1415
[profile.bench]
1516
debug = true

0 commit comments

Comments
 (0)