Skip to content

Commit

Permalink
Bump patch version, reduce workflow runs (#165)
Browse files Browse the repository at this point in the history
# Description

Patches the version to publish the change from #164 and adds concurrency
config to more workflows.

# Review Checklists

Please check each item **before approving** the pull request. While
going
through the checklist, it is recommended to leave comments on items that
are
referenced in the checklist to make sure that they are reviewed.

- [ ] **Testing**
    - [ ] Are there new or updated unit or integration tests?
    - [ ] Do the tests cover the happy paths?
    - [ ] Do the tests cover the unhappy paths?
- [ ] Are there an adequate number of fuzz tests to ensure that we are
          covering the full input space?
- [ ] If matching Solidity behavior, are there differential fuzz tests
that
          ensure that Rust matches Solidity?
  • Loading branch information
ryangoree authored Jul 6, 2024
1 parent 6e1f10a commit 691f85b
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 10 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/dynamic_fuzz.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ name: dynamic fuzz
on:
pull_request:

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

jobs:
# Check if files in the /test, /crates, or /lib directories or the
# /Cargo.lock, or /Cargo.toml files were changed in this PR.
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/rust_lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ on:
pull_request:
merge_group:

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

jobs:
# Check if files in the /test, /crates, or /lib directories or the
# /Cargo.lock, or /Cargo.toml files were changed in this PR.
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/rust_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ on:
pull_request:
merge_group:

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

jobs:
# Check if files in the /test, /crates, or /lib directories or the
# /Cargo.lock, or /Cargo.toml files were changed in this PR.
Expand Down
12 changes: 6 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ members = [

[workspace.package]
name = "hyperdrive-rs"
version = "0.16.8"
version = "0.16.9"
authors = [
"Alex Towle <[email protected]>",
"Dylan Paiton <[email protected]>",
Expand All @@ -29,9 +29,9 @@ repository = "https://github.com/delvtech/hyperdrive-rs"
description = "API for simulating Hyperdrive smart contract transactions."

[workspace.dependencies]
fixedpointmath = { version = "0.16.8", path="crates/fixedpointmath" }
hyperdrive-wrappers = { version = "0.16.8", path="crates/hyperdrive-wrappers" }
hyperdrive-math = { version = "0.16.8", path="crates/hyperdrive-math" }
fixedpointmath = { version = "0.16.9", path="crates/fixedpointmath" }
hyperdrive-wrappers = { version = "0.16.9", path="crates/hyperdrive-wrappers" }
hyperdrive-math = { version = "0.16.9", path="crates/hyperdrive-math" }

[workspace.lints.clippy]
comparison_chain = "allow"
Expand Down

0 comments on commit 691f85b

Please sign in to comment.