diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md deleted file mode 100644 index 0cd10d4..0000000 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ /dev/null @@ -1,36 +0,0 @@ -## Summary - -What does this PR change, and why? - -Closes # - -## Checklist - -The expectations below come from [CONTRIBUTING.md](CONTRIBUTING.md) — -see it for the full workflow and rationale. - -- [ ] `make check` passes locally (`fmt` + `clippy` + `test` + wasm - build — the same steps CI runs) -- [ ] Tests added or updated: every new contract function has unit tests - covering both the success path and the failure/authorization paths - (see `contracts/*/src/test.rs` for patterns) -- [ ] `CHANGELOG.md` updated under `Unreleased` -- [ ] `Cargo.lock` is committed and up to date -- [ ] Docs updated (`README.md`, `docs/`) if behavior, error codes, or - workflow changed -- [ ] Cross-contract calls go through a `#[contractclient]` trait - interface, not a direct crate dependency -- [ ] No real personal or health data (including test fixtures that - could be mistaken for it) is included in this change - -## Schema / cross-repo impact - -- [ ] This PR does **not** change contract function signatures or the - attestation schema — **or** the change is flagged here so - `lafiya-web` can be updated in the same change set (see the - README's Shared Contracts section). - -## Notes for reviewers - -Anything reviewers should look at first, or follow-ups deliberately left -out of scope. diff --git a/.github/dependabot.yml b/.github/dependabot.yml index b8489f4..c9ce470 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -9,3 +9,8 @@ updates: patterns: - "soroban-sdk" - "soroban-*" + + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6e13e95..f76000f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -52,6 +52,7 @@ jobs: - uses: dtolnay/rust-toolchain@stable - uses: Swatinem/rust-cache@v2 - run: cargo test --workspace --locked + - run: cargo test --workspace --all-features --locked build-wasm: name: Build (wasm32v1-none) diff --git a/Makefile b/Makefile index d800c10..554b7cc 100644 --- a/Makefile +++ b/Makefile @@ -49,3 +49,15 @@ clean: bench: cargo test -p attester-registry large_attester_allowlist_load -- --nocapture + +NETWORK ?= testnet + +config-check: + ./scripts/admin.sh --network $(NETWORK) config show + cargo test -p lafiya-config + +config-list: + ./scripts/admin.sh --network $(NETWORK) config list + +deploy: + ./scripts/deploy.sh --network $(NETWORK)