We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0aee134 commit 7010bd7Copy full SHA for 7010bd7
1 file changed
.github/workflows/publish.yml
@@ -0,0 +1,39 @@
1
+name: Publish
2
+
3
+on:
4
+ workflow_dispatch:
5
6
+jobs:
7
+ check_docs:
8
+ uses: ./.github/workflows/docs.yml
9
10
+ check_examples:
11
+ uses: ./.github/workflows/examples.yml
12
13
+ check_linter:
14
+ uses: ./.github/workflows/linter.yml
15
16
+ check_op_whitelist:
17
+ uses: ./.github/workflows/op_whitelist.yml
18
19
+ check_tests:
20
+ uses: ./.github/workflows/tests.yml
21
22
+ publish:
23
+ runs-on: ubuntu-latest
24
+ steps:
25
+ - uses: actions/checkout@v4
26
27
+ - name: Set up Rust
28
+ uses: dtolnay/rust-toolchain@stable
29
30
+ - name: Run tests
31
+ run: cargo test --all --locked
32
33
+ - name: Dry run publish
34
+ run: cargo publish --dry-run --locked
35
36
+ - name: Publish to crates.io
37
+ env:
38
+ CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
39
+ run: cargo publish --locked
0 commit comments