diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e65f81e..3f38707 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,6 +20,8 @@ jobs: steps: - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 - uses: dtolnay/rust-toolchain@3c5f7ea28cd621ae0bf5283f0e981fb97b8a7af9 # stable + with: + toolchain: stable - uses: Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2 - run: cargo check --all-targets @@ -30,6 +32,7 @@ jobs: - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 - uses: dtolnay/rust-toolchain@3c5f7ea28cd621ae0bf5283f0e981fb97b8a7af9 # stable with: + toolchain: stable components: rustfmt - run: cargo fmt -- --check @@ -40,6 +43,7 @@ jobs: - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 - uses: dtolnay/rust-toolchain@3c5f7ea28cd621ae0bf5283f0e981fb97b8a7af9 # stable with: + toolchain: stable components: clippy - uses: Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2 - run: cargo clippy --all-targets -- -D warnings @@ -53,5 +57,7 @@ jobs: steps: - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 - uses: dtolnay/rust-toolchain@3c5f7ea28cd621ae0bf5283f0e981fb97b8a7af9 # stable + with: + toolchain: stable - uses: Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2 - run: cargo test --all-targets diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f225d8b..04e3f61 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -38,6 +38,7 @@ jobs: - uses: dtolnay/rust-toolchain@3c5f7ea28cd621ae0bf5283f0e981fb97b8a7af9 # stable with: + toolchain: stable targets: ${{ matrix.target }} - uses: Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2 diff --git a/CHANGELOG.md b/CHANGELOG.md index 29b0647..0a6d1ac 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## v0.2.1 - 2026-05-26 + +### Fixed + +- Fixed pinned GitHub Actions Rust toolchain setup by passing `toolchain: stable` explicitly. + ## v0.2.0 - 2026-05-26 ### Added diff --git a/Cargo.lock b/Cargo.lock index cc088cb..810a3e1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1960,7 +1960,7 @@ dependencies = [ [[package]] name = "teams-cli" -version = "0.2.0" +version = "0.2.1" dependencies = [ "anyhow", "assert_cmd", diff --git a/Cargo.toml b/Cargo.toml index 60a11ec..751a512 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "teams-cli" -version = "0.2.0" +version = "0.2.1" edition = "2021" rust-version = "1.75" license = "MIT" diff --git a/docs/man/teams-agent-contract.7 b/docs/man/teams-agent-contract.7 index cfd618b..655f029 100644 --- a/docs/man/teams-agent-contract.7 +++ b/docs/man/teams-agent-contract.7 @@ -1,4 +1,4 @@ -.TH TEAMS-AGENT-CONTRACT 7 "May 26, 2026" "teams-cli 0.2.0" "Miscellaneous Information" +.TH TEAMS-AGENT-CONTRACT 7 "May 26, 2026" "teams-cli 0.2.1" "Miscellaneous Information" .SH NAME teams-agent-contract \- automation contract for the teams CLI .SH DESCRIPTION diff --git a/docs/man/teams-auth.7 b/docs/man/teams-auth.7 index 7d5cf8f..4e86d9b 100644 --- a/docs/man/teams-auth.7 +++ b/docs/man/teams-auth.7 @@ -1,4 +1,4 @@ -.TH TEAMS-AUTH 7 "May 26, 2026" "teams-cli 0.2.0" "Miscellaneous Information" +.TH TEAMS-AUTH 7 "May 26, 2026" "teams-cli 0.2.1" "Miscellaneous Information" .SH NAME teams-auth \- authentication model for the teams CLI .SH DESCRIPTION diff --git a/docs/man/teams-config.5 b/docs/man/teams-config.5 index 2c711cb..2e9a4b0 100644 --- a/docs/man/teams-config.5 +++ b/docs/man/teams-config.5 @@ -1,4 +1,4 @@ -.TH TEAMS-CONFIG 5 "May 26, 2026" "teams-cli 0.2.0" "File Formats" +.TH TEAMS-CONFIG 5 "May 26, 2026" "teams-cli 0.2.1" "File Formats" .SH NAME teams-config \- configuration file for the teams CLI .SH DESCRIPTION diff --git a/docs/man/teams-examples.7 b/docs/man/teams-examples.7 index 481ad11..adcee81 100644 --- a/docs/man/teams-examples.7 +++ b/docs/man/teams-examples.7 @@ -1,4 +1,4 @@ -.TH TEAMS-EXAMPLES 7 "May 26, 2026" "teams-cli 0.2.0" "Miscellaneous Information" +.TH TEAMS-EXAMPLES 7 "May 26, 2026" "teams-cli 0.2.1" "Miscellaneous Information" .SH NAME teams-examples \- practical examples for the teams CLI .SH DESCRIPTION diff --git a/docs/man/teams.1 b/docs/man/teams.1 index b356d7d..2512a91 100644 --- a/docs/man/teams.1 +++ b/docs/man/teams.1 @@ -1,4 +1,4 @@ -.TH TEAMS 1 "May 26, 2026" "teams-cli 0.2.0" "User Commands" +.TH TEAMS 1 "May 26, 2026" "teams-cli 0.2.1" "User Commands" .SH NAME teams \- Microsoft Teams CLI for Microsoft Graph automation .SH SYNOPSIS diff --git a/tests/cli.rs b/tests/cli.rs index 4b90d14..3b382f5 100644 --- a/tests/cli.rs +++ b/tests/cli.rs @@ -38,7 +38,7 @@ fn version_flag_works() { .arg("--version") .assert() .success() - .stdout(predicate::str::contains("0.2.0")); + .stdout(predicate::str::contains("0.2.1")); } #[test]