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
15 changes: 15 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,21 @@ env:
CARGO_TERM_COLOR: always

jobs:
version-alignment:
name: Version Alignment
runs-on: ubuntu-latest
permissions:
contents: read

steps:
- name: Checkout code
uses: actions/checkout@v6

Comment on lines +24 to +26
Copy link

Copilot AI Apr 6, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

actions/checkout@v6 is referenced by a mutable tag. To make CI runs reproducible and reduce action supply-chain risk, pin this to a specific commit SHA (or at least a specific major+minor tag if your org policy allows).

Copilot uses AI. Check for mistakes.
Copy link
Copy Markdown

@aurel-fr aurel-fr Apr 8, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree with this and we do pin to sha in other repos. I think it's more acceptable to reference a branch for repositories that belong to us like bedrock but for those actions that we don't own, it's safer to pin.

Copy link
Copy Markdown
Contributor Author

@eldenpark eldenpark Apr 8, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@aurel-fr ^ Specified a commit SHA of the upstream repo (version alignment script)

- uses: worldcoin/bedrock/.github/actions/version-alignment@main
with:
uniffi_version: ${{ vars.UNIFFI_VERSION }}
rust_toolchain_channel: ${{ vars.RUST_TOOLCHAIN_CHANNEL }}

lint:
name: Format, Clippy & Build
runs-on: ubuntu-latest
Expand Down
23 changes: 18 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
[workspace]
members = ["uniffi-bindgen", "walletkit-core", "walletkit", "walletkit-db", "walletkit-cli"]
members = [
"uniffi-bindgen",
"walletkit-core",
"walletkit",
"walletkit-db",
"walletkit-cli",
]
resolver = "2"

[workspace.package]
Expand All @@ -8,10 +14,17 @@ license = "MIT"
edition = "2021"
authors = ["World Contributors"]
readme = "./README.md"
homepage = "https://docs.world.org" # TODO: Update to specific WalletKit page
rust-version = "1.91" # MSRV
homepage = "https://docs.world.org" # TODO: Update to specific WalletKit page
rust-version = "1.91" # MSRV
repository = "https://github.com/worldcoin/walletkit"
exclude = ["tests/", "uniffi-bindgen/", "walletkit-cli/", "/audits", "/kotlin", "/swift"]
exclude = [
"tests/",
"uniffi-bindgen/",
"walletkit-cli/",
"/audits",
"/kotlin",
"/swift",
]
keywords = ["ZKP", "WorldID", "World", "Identity", "Semaphore"]
categories = ["api-bindings", "cryptography::cryptocurrencies"]

Expand All @@ -21,7 +34,7 @@ alloy-core = { version = "1", default-features = false, features = [
"sol-types",
] }
alloy-primitives = { version = "1", default-features = false }
uniffi = { version = "0.31", features = ["tokio"] }
uniffi = { version = "0.31.0", features = ["tokio"] }
world-id-core = { version = "0.8.2", default-features = false }

# internal
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[toolchain]
channel = "1.92.0"
channel = "1.94.1"
profile = "default"
components = ["rustfmt", "clippy", "rust-analyzer"]
targets = [
Expand Down
Loading