Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ jobs:
publish:
name: Publish to crates.io
runs-on: ubuntu-latest
environment: crates.io

permissions:
id-token: write
Expand All @@ -21,5 +20,9 @@ jobs:
run: cargo test --verbose
env:
RUSTFLAGS: "-Dwarnings"
- uses: rust-lang/crates-io-auth-action@v1
id: auth
- name: Publish
run: cargo publish
env:
CARGO_REGISTRY_TOKEN: ${{ steps.auth.outputs.token }}
9 changes: 5 additions & 4 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,10 +164,11 @@ Follow [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) format:
### Trusted Publisher Setup

Uses crates.io Trusted Publishers (no API token required). Configure the trusted
publisher at https://crates.io/crates/fiber-sphinx/settings with:
- Repository: `cryptape/fiber-sphinx`
- Workflow: `deploy.yml`
- Environment: `crates.io`
publisher at https://crates.io/crates/fiber-sphinx/settings → Trusted Publishing:
- Repository owner: `cryptape`
- Repository name: `fiber-sphinx`
- Workflow filename: `deploy.yml`
- Environment: (leave empty)

## Contributing Workflow

Expand Down
Loading