We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6aa2ae7 commit 32ae13aCopy full SHA for 32ae13a
1 file changed
.github/workflows/oca-file.yml
@@ -0,0 +1,35 @@
1
+name: Publish OCAFile to crates.io
2
+
3
+on:
4
+ push:
5
+ tags:
6
+ - "oca-file-v*"
7
+env:
8
+ CARGO_TERM_COLOR: always
9
10
+defaults:
11
+ run:
12
+ working-directory: oca-file
13
14
+jobs:
15
+ build:
16
+ runs-on: ubuntu-24.04
17
18
+ steps:
19
+ - uses: actions/checkout@v2
20
+ - uses: actions-rs/toolchain@v1
21
+ with:
22
+ toolchain: stable
23
+ override: true
24
25
+ - name: Run clippy
26
+ run: cargo clippy --all-features -- -D warnings
27
28
+ - name: Run tests
29
+ run: cargo test --all-features --verbose
30
31
+ - uses: katyo/publish-crates@v1
32
33
+ path: './oca-file'
34
+ registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}
35
+ args: '--all-features'
0 commit comments