From cbd6c264df336d519cbdaa76e2d79dadc8a4f008 Mon Sep 17 00:00:00 2001 From: Scott Schafer Date: Sun, 16 Nov 2025 14:38:02 -0700 Subject: [PATCH 1/2] chore: Add trusted publishing workflow --- .github/workflows/release.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..240d5c1 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,24 @@ +name: Publish + +on: + push: + tags: ["*"] + +jobs: + publish: + name: Publish to crates.io + runs-on: ubuntu-latest + environment: publish + permissions: + # Required for OIDC token exchange + id-token: write + steps: + - name: Checkout repository + uses: actions/checkout@v5 + - name: Authenticate with crates.io + id: auth + uses: rust-lang/crates-io-auth-action@v1 + - name: Publish to crates.io + env: + CARGO_REGISTRY_TOKEN: ${{ steps.auth.outputs.token }} + run: cargo publish From 0f8884479c588ce275bd4e94f331c2a4b423af46 Mon Sep 17 00:00:00 2001 From: Scott Schafer Date: Sun, 16 Nov 2025 14:46:45 -0700 Subject: [PATCH 2/2] chore: Remove cargo-release config file --- release.toml | 2 -- 1 file changed, 2 deletions(-) delete mode 100644 release.toml diff --git a/release.toml b/release.toml deleted file mode 100644 index f74b710..0000000 --- a/release.toml +++ /dev/null @@ -1,2 +0,0 @@ -dependent-version = "fix" -allow-branch = ["master"]