Skip to content

Commit 02dba0f

Browse files
authored
Enforce parity-scale-codec-derive version with =x.y.z. (#696)
* enforce version * change the ci a bit * only dry-run derive
1 parent d83ab9f commit 02dba0f

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -222,4 +222,4 @@ jobs:
222222

223223
- name: Dry Run Publish
224224
if: github.event_name == 'pull_request'
225-
run: cargo publish -p parity-scale-codec --dry-run
225+
run: cargo publish -p parity-scale-codec-derive --dry-run

.github/workflows/publish.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,6 @@ jobs:
2020
key: ${{ runner.os }}-rust-${{ hashFiles('**/Cargo.lock') }}
2121

2222
- name: Publish Crate
23-
run: cargo publish --token ${{ secrets.CARGO_REGISTRY_TOKEN }} -p parity-scale-codec
23+
run: |
24+
cargo publish --token ${{ secrets.CARGO_REGISTRY_TOKEN }} -p parity-scale-codec-derive
25+
cargo publish --token ${{ secrets.CARGO_REGISTRY_TOKEN }} -p parity-scale-codec

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ rust-version.workspace = true
1313
[dependencies]
1414
arrayvec = { version = "0.7", default-features = false }
1515
serde = { version = "1.0.217", default-features = false, optional = true }
16-
parity-scale-codec-derive = { path = "derive", version = "3.6.8", default-features = false, optional = true }
16+
parity-scale-codec-derive = { path = "derive", version = "=3.7.3", default-features = false, optional = true }
1717
bitvec = { version = "1", default-features = false, features = ["alloc"], optional = true }
1818
bytes = { version = "1", default-features = false, optional = true }
1919
byte-slice-cast = { version = "1.2.2", default-features = false }

0 commit comments

Comments
 (0)