Skip to content

Commit

Permalink
chore(ci): add "publish-dry-run"
Browse files Browse the repository at this point in the history
  • Loading branch information
EstebanBorai committed Jun 19, 2021
1 parent 2b586f2 commit 1426dcf
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/publish-dry-run.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 1426dcf

Please sign in to comment.