From 776d45ce7a628f137adaa7c36d41979907b7e0f2 Mon Sep 17 00:00:00 2001 From: Denis Varlakov Date: Fri, 1 Mar 2024 15:02:42 +0100 Subject: [PATCH 1/2] Add `repository` to Cargo.toml --- Cargo.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/Cargo.toml b/Cargo.toml index daeb124..bd48385 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,6 +4,7 @@ version = "0.2.0" edition = "2021" license = "MIT OR Apache-2.0" description = "SLIP10 implementation in Rust" +repository = "https://github.com/dfns/slip-10" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html From c4d551bf69227d624bd94a672c3364f3de02206a Mon Sep 17 00:00:00 2001 From: Denis Varlakov Date: Mon, 11 Mar 2024 09:49:42 +0100 Subject: [PATCH 2/2] Add dry-run workflow --- .github/workflows/rust.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index b76a34b..363b598 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -62,3 +62,13 @@ jobs: cache-on-failure: "true" - name: Run clippy run: cargo clippy -- -D clippy::all + dry-publish: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: Swatinem/rust-cache@v2 + with: + cache-on-failure: "true" + - name: Run dry publish + run: cargo publish --dry-run +