From e9aea86d54127b4bde3e4c4d3bca42fe0c647d61 Mon Sep 17 00:00:00 2001 From: VPRamon Date: Sat, 9 May 2026 15:56:09 +0200 Subject: [PATCH] chore: add GitHub Actions workflow for publishing to crates.io and update qtty dependency to version 0.7.1 --- .github/workflows/publish.yml | 23 +++++++++++++++++++++++ Cargo.toml | 2 +- 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/publish.yml diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 0000000..161848c --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,23 @@ +name: Publish to crates.io + +on: + push: + tags: + - "v[0-9]*" + +permissions: + contents: read + +jobs: + publish: + name: cargo publish + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - uses: dtolnay/rust-toolchain@stable + + - name: Publish cheby + run: cargo publish + env: + CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} diff --git a/Cargo.toml b/Cargo.toml index df4b739..f57f5df 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -47,7 +47,7 @@ full = [ ] [dependencies] -qtty = { version = "0.7.0", default-features = false, features = ["cross-unit-ops"] } +qtty = { version = "0.7.1", default-features = false, features = ["cross-unit-ops"] } serde = { version = "1.0", optional = true, features = ["derive"] } [dev-dependencies]