From 1426dcf02e4e3a2e0f4dd3456aee8c8e6c01d9d2 Mon Sep 17 00:00:00 2001 From: Esteban Borai Date: Sat, 19 Jun 2021 00:26:45 -0400 Subject: [PATCH] chore(ci): add "publish-dry-run" --- .github/workflows/publish-dry-run.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/publish-dry-run.yml diff --git a/.github/workflows/publish-dry-run.yml b/.github/workflows/publish-dry-run.yml new file mode 100644 index 0000000..68df73c --- /dev/null +++ b/.github/workflows/publish-dry-run.yml @@ -0,0 +1,22 @@ +name: publish-dry-run + +on: + pull_request: + push: + branches: + - main + +jobs: + publish-dry-run: + name: "Runs cargo publish --dry-run" + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + + - uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: stable + + - name: publish crate + run: cargo publish --dry-run