Skip to content

Commit fecf929

Browse files
committed
fix: made definition reader a workspace dependency
1 parent bd7c56d commit fecf929

File tree

3 files changed

+41
-9
lines changed

3 files changed

+41
-9
lines changed

.github/workflows/ci.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,29 @@ jobs:
7878
- name: Build project
7979
run: cargo build --verbose --all-features
8080

81+
package:
82+
name: Package
83+
needs: build
84+
runs-on: ubuntu-latest
85+
steps:
86+
- name: Checkout code
87+
uses: actions/checkout@v5
88+
- name: Install Rust toolchain
89+
uses: dtolnay/rust-toolchain@stable
90+
91+
- name: Cache cargo registry
92+
uses: actions/cache@v4
93+
with:
94+
path: |
95+
~/.cargo/registry
96+
~/.cargo/git
97+
target
98+
key: ${{ runner.os }}-cargo-build-${{ hashFiles('**/Cargo.lock') }}
99+
restore-keys: |
100+
${{ runner.os }}-cargo-
101+
102+
- name: Build project
103+
run: cargo package --allow-dirty --verbose --all-features
81104

82105
report:
83106
name: Report

Cargo.lock

Lines changed: 17 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,4 @@ tokio = "1.47.0"
1919
futures = "0.3.31"
2020
zip = "6.0.0"
2121
bytes = "1.10.1"
22-
23-
[workspace.dependencies.code0-definition-reader]
24-
path = "reader/rust"
22+
code0-definition-reader= "0.0.12"

0 commit comments

Comments
 (0)