Skip to content

Commit 32ae13a

Browse files
committed
fix(oca-file): add missing action flow
1 parent 6aa2ae7 commit 32ae13a

1 file changed

Lines changed: 35 additions & 0 deletions

File tree

.github/workflows/oca-file.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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+
with:
33+
path: './oca-file'
34+
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}
35+
args: '--all-features'

0 commit comments

Comments
 (0)