-
Notifications
You must be signed in to change notification settings - Fork 127
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'dev' into 2024-07-pre-push-bash-fmt-only
- Loading branch information
Showing
29 changed files
with
719 additions
and
163 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,131 @@ | ||
name: Semver Check | ||
|
||
on: | ||
push: | ||
branches: | ||
- "main" | ||
- "dev" | ||
pull_request: | ||
branches: | ||
- "main" | ||
- "dev" | ||
|
||
jobs: | ||
semver-check: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Install Rust | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
toolchain: stable | ||
override: true | ||
|
||
- name: Cache Cargo registry | ||
uses: actions/cache@v2 | ||
with: | ||
path: ~/.cargo/registry | ||
key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }} | ||
restore-keys: | | ||
${{ runner.os }}-cargo-registry- | ||
- name: Cache Cargo index | ||
uses: actions/cache@v2 | ||
with: | ||
path: ~/.cargo/git | ||
key: ${{ runner.os }}-cargo-index-${{ hashFiles('**/Cargo.lock') }} | ||
restore-keys: | | ||
${{ runner.os }}-cargo-index- | ||
- name: Install dependencies | ||
run: sudo apt-get update && sudo apt-get install -y cmake | ||
|
||
- name: Install cargo-semver-checks | ||
run: cargo install cargo-semver-checks --locked | ||
|
||
- name: Run semver checks for common | ||
working-directory: common | ||
run: cargo semver-checks | ||
|
||
- name: Run semver checks for utils/buffer | ||
working-directory: utils/buffer | ||
run: cargo semver-checks | ||
|
||
- name: Run semver checks for protocols/v2/binary-sv2/no-serde-sv2/codec | ||
working-directory: protocols/v2/binary-sv2/no-serde-sv2/codec | ||
run: cargo semver-checks | ||
|
||
- name: Run semver checks for protocols/v2/binary-sv2/serde-sv2 | ||
working-directory: protocols/v2/binary-sv2/serde-sv2 | ||
run: cargo semver-checks | ||
|
||
- name: Run semver checks for protocols/v2/binary-sv2/binary-sv2 | ||
working-directory: protocols/v2/binary-sv2/binary-sv2 | ||
run: cargo semver-checks | ||
|
||
- name: Run semver checks for protocols/v2/const-sv2 | ||
working-directory: protocols/v2/const-sv2 | ||
run: cargo semver-checks | ||
|
||
- name: Run semver checks for protocols/v2/framing-sv2 | ||
working-directory: protocols/v2/framing-sv2 | ||
run: cargo semver-checks | ||
|
||
- name: Run semver checks for protocols/v2/noise-sv2 | ||
working-directory: protocols/v2/noise-sv2 | ||
run: cargo semver-checks | ||
|
||
- name: Run semver checks for protocols/v2/codec-sv2 | ||
working-directory: protocols/v2/codec-sv2 | ||
run: cargo semver-checks | ||
|
||
- name: Run semver checks for protocols/v2/subprotocols/common-messages | ||
working-directory: protocols/v2/subprotocols/common-messages | ||
run: cargo semver-checks | ||
|
||
- name: Run semver checks for protocols/v2/subprotocols/job-declaration | ||
working-directory: protocols/v2/subprotocols/job-declaration | ||
run: cargo semver-checks | ||
|
||
- name: Run semver checks for protocols/v2/subprotocols/mining | ||
working-directory: protocols/v2/subprotocols/mining | ||
run: cargo semver-checks | ||
|
||
- name: Run semver checks for protocols/v2/subprotocols/template-distribution | ||
working-directory: protocols/v2/subprotocols/template-distribution | ||
run: cargo semver-checks | ||
|
||
- name: Run semver checks for protocols/v2/sv2-ffi | ||
working-directory: protocols/v2/sv2-ffi | ||
run: cargo semver-checks | ||
|
||
- name: Run semver checks for protocols/v2/roles-logic-sv2 | ||
working-directory: protocols/v2/roles-logic-sv2 | ||
run: cargo semver-checks --default-features | ||
|
||
- name: Run semver checks for protocols/v1 | ||
working-directory: protocols/v1 | ||
run: cargo semver-checks | ||
|
||
- name: Run semver checks for utils/bip32-key-derivation | ||
working-directory: utils/bip32-key-derivation | ||
run: cargo semver-checks | ||
|
||
- name: Run semver checks for utils/error-handling | ||
working-directory: utils/error-handling | ||
run: cargo semver-checks | ||
|
||
- name: Run semver checks for utils/key-utils | ||
working-directory: utils/key-utils | ||
run: cargo semver-checks | ||
|
||
- name: Run semver checks for roles/roles-utils/network-helpers | ||
working-directory: roles/roles-utils/network-helpers | ||
run: cargo semver-checks | ||
|
||
- name: Run semver checks for roles/roles-utils/rpc | ||
working-directory: roles/roles-utils/rpc | ||
run: cargo semver-checks |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "binary_sv2" | ||
version = "1.0.0" | ||
version = "1.0.1" | ||
authors = ["fi3 <[email protected]>"] | ||
edition = "2018" | ||
description = "Sv2 data format" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "codec_sv2" | ||
version = "1.2.0" | ||
version = "1.2.1" | ||
authors = ["fi3 <[email protected]>"] | ||
edition = "2018" | ||
description = "Sv2 data format" | ||
|
@@ -9,10 +9,10 @@ repository = "https://github.com/stratum-mining/stratum" | |
|
||
[dependencies] | ||
serde = { version = "1.0.89", default-features = false, optional = true } | ||
framing_sv2 = { version = "1.1.0", path = "../../../protocols/v2/framing-sv2" } | ||
framing_sv2 = { version = "^2.0.0", path = "../../../protocols/v2/framing-sv2" } | ||
noise_sv2 = { version = "1.0", path = "../../../protocols/v2/noise-sv2", optional=true} | ||
binary_sv2 = { version = "1.0.0", path = "../../../protocols/v2/binary-sv2/binary-sv2" } | ||
const_sv2 = { version = "1.0.0", path = "../../../protocols/v2/const-sv2"} | ||
const_sv2 = { version = "2.0.0", path = "../../../protocols/v2/const-sv2"} | ||
buffer_sv2 = { version = "1.0.0", path = "../../../utils/buffer"} | ||
tracing = { version = "0.1"} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "const_sv2" | ||
version = "1.0.0" | ||
version = "2.0.0" | ||
authors = ["fi3 <[email protected]>"] | ||
edition = "2018" | ||
description = "Sv2 constatnts" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "framing_sv2" | ||
version = "1.1.0" | ||
version = "2.0.0" | ||
authors = ["fi3 <[email protected]>"] | ||
edition = "2018" | ||
description = "Sv2 frames" | ||
|
@@ -12,7 +12,7 @@ repository = "https://github.com/stratum-mining/stratum" | |
|
||
[dependencies] | ||
serde = { version = "1.0.89", default-features = false, optional = true } | ||
const_sv2 = { version = "^1.0.0", path = "../../../protocols/v2/const-sv2"} | ||
const_sv2 = { version = "^2.0.0", path = "../../../protocols/v2/const-sv2"} | ||
binary_sv2 = { version = "^1.0.0", path = "../../../protocols/v2/binary-sv2/binary-sv2" } | ||
buffer_sv2 = { version = "^1.0.0", path = "../../../utils/buffer", optional=true } | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "common_messages_sv2" | ||
version = "1.0.0" | ||
version = "2.0.0" | ||
authors = ["fi3 <[email protected]>"] | ||
edition = "2018" | ||
description = "Sv2 subprotocol common messages" | ||
|
@@ -12,7 +12,7 @@ repository = "https://github.com/stratum-mining/stratum" | |
[dependencies] | ||
serde = { version = "1.0.89", default-features = false, optional= true } | ||
binary_sv2 = {version = "^1.0.0", path = "../../../../protocols/v2/binary-sv2/binary-sv2" } | ||
const_sv2 = {version = "^1.0.0", path = "../../../../protocols/v2/const-sv2"} | ||
const_sv2 = {version = "^2.0.0", path = "../../../../protocols/v2/const-sv2"} | ||
quickcheck = { version = "1.0.3", optional=true } | ||
quickcheck_macros = { version = "1", optional=true } | ||
serde_repr = {version= "0.1.10", optional=true} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "template_distribution_sv2" | ||
version = "1.0.1" | ||
version = "1.0.2" | ||
authors = ["fi3 <[email protected]>"] | ||
edition = "2018" | ||
description = "Sv2 template distribution subprotocol" | ||
|
@@ -11,8 +11,8 @@ repository = "https://github.com/stratum-mining/stratum" | |
|
||
[dependencies] | ||
serde = { version = "1.0.89", default-features = false, optional= true } | ||
binary_sv2 = { version = "^1.0.0", path = "../../../../protocols/v2/binary-sv2/binary-sv2" } | ||
const_sv2 = { version = "^1.0.0", path = "../../../../protocols/v2/const-sv2"} | ||
binary_sv2 = { version = "^1.0.1", path = "../../../../protocols/v2/binary-sv2/binary-sv2" } | ||
const_sv2 = { version = "^2.0.0", path = "../../../../protocols/v2/const-sv2"} | ||
quickcheck = { version = "1.0.3", optional=true } | ||
quickcheck_macros = { version = "1", optional=true } | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.