Skip to content

Commit

Permalink
Merge branch 'main' into remove-using-tla-on-testnet
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexKushnir1 authored Nov 22, 2024
2 parents d10894a + f820dc5 commit 679d18e
Show file tree
Hide file tree
Showing 10 changed files with 68 additions and 21 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/add-to-devtools.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: 'Add to DevTools Project'

on:
issues:
types:
- opened
- reopened
pull_request:
types:
- opened
- reopened

jobs:
add-to-project:
name: Add issue/PR to project
runs-on: ubuntu-latest
steps:
- uses: actions/add-to-project@v1.0.0
with:
# add to DevTools Project #156
project-url: https://github.com/orgs/near/projects/156
github-token: ${{ secrets.GH_TOKEN }}
20 changes: 18 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,22 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: Free Disk Space (Ubuntu)
if: matrix.platform == 'ubuntu-latest'
uses: jlumbroso/free-disk-space@v1.3.1
with:
# this might remove tools that are actually needed,
# if set to "true" but frees about 6 GB
tool-cache: false

# all of these default to true, but feel free to set to
# "false" if necessary for your workflow
android: true
dotnet: true
haskell: true
large-packages: true
docker-images: true
swap-storage: true
- name: "${{ matrix.toolchain }}"
uses: actions-rs/toolchain@v1
with:
Expand All @@ -63,9 +79,9 @@ jobs:
- name: Add wasm32 target
run: rustup target add wasm32-unknown-unknown
- name: Check with stable features
run: cargo check --verbose
run: cargo check
- name: Run tests with unstable features
run: NEAR_RPC_TIMEOUT_SECS=100 cargo test --verbose --features unstable
run: NEAR_RPC_TIMEOUT_SECS=100 cargo test --features unstable

release-plz:
runs-on: ubuntu-latest
Expand Down
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

## [Unreleased]

## [0.15.0](https://github.com/near/near-workspaces-rs/compare/near-workspaces-v0.14.1...near-workspaces-v0.15.0) - 2024-11-18

### Other

- [**breaking**] updates near-* dependencies to 0.27 release ([#387](https://github.com/near/near-workspaces-rs/pull/387))
- [**breaking**] reexport `cargo-near-build` for configurable build if needed ([#386](https://github.com/near/near-workspaces-rs/pull/386))
- make cargo-near-build optional in manifest ([#383](https://github.com/near/near-workspaces-rs/pull/383))

## [0.14.1](https://github.com/near/near-workspaces-rs/compare/near-workspaces-v0.14.0...near-workspaces-v0.14.1) - 2024-10-18

### Fixed
Expand Down
4 changes: 2 additions & 2 deletions examples/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ anyhow = "1.0"
maplit = "1.0"
near-units = "0.2.0"
near-gas = { version = "0.3", features = ["serde", "borsh", "schemars"] }
near-jsonrpc-primitives = "0.26"
near-primitives = "0.26"
near-jsonrpc-primitives = "0.27"
near-primitives = "0.27"
serde = "1.0"
serde_with = "3.4"
serde_json = { version = "1.0" }
Expand Down
2 changes: 1 addition & 1 deletion examples/noop-contract/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ edition = "2018"
crate-type = ["cdylib"]

[dependencies]
near-sdk = "5.5.0"
near-sdk = "5.6.0"

[profile.release]
codegen-units = 1
Expand Down
2 changes: 1 addition & 1 deletion examples/simple-contract/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ edition = "2018"
crate-type = ["cdylib"]

[dependencies]
near-sdk = "5.5.0"
near-sdk = "5.6.0"

[profile.release]
codegen-units = 1
Expand Down
25 changes: 12 additions & 13 deletions workspaces/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "near-workspaces"
version = "0.14.1"
version = "0.15.0"
edition = "2018"
license = "MIT OR Apache-2.0"
readme = "README.md"
Expand All @@ -13,8 +13,7 @@ Library for automating workflows and testing NEAR smart contracts.
async-trait = "0.1"
base64 = "0.22"
bs58 = "0.5"
cargo_metadata = { version = "0.18", optional = true }
cargo-near-build = { version = "0.2.0" }
cargo-near-build = { version = "0.3.0", optional = true }
chrono = "0.4.19"
fs2 = "0.4"
rand = "0.8.4"
Expand All @@ -33,33 +32,33 @@ url = { version = "2.2.2", features = ["serde"] }
near-abi-client = "0.1.1"
near-gas = { version = "0.3", features = ["serde", "borsh", "schemars"] }
near-token = { version = "0.3", features = ["serde"] }
near-sdk = { version = "5.5", optional = true }
near-sdk = { version = "5.6", optional = true }
near-account-id = "1.0.0"
near-crypto = "0.26"
near-primitives = "0.26"
near-jsonrpc-primitives = "0.26"
near-jsonrpc-client = { version = "0.13", features = ["sandbox"] }
near-sandbox-utils = "0.10"
near-chain-configs = { version = "0.26", optional = true }
near-crypto = "0.27"
near-primitives = "0.27"
near-jsonrpc-primitives = "0.27"
near-jsonrpc-client = { version = "0.14", features = ["sandbox"] }
near-sandbox-utils = "0.12"
near-chain-configs = { version = "0.27", optional = true }

[build-dependencies]
near-sandbox-utils = "0.10"
near-sandbox-utils = "0.12"

[target.'cfg(unix)'.dependencies]
libc = "0.2"

[dev-dependencies]
anyhow = "1.0"
futures = "0.3"
near-sdk = "5.5"
near-sdk = "5.6"
test-log = { version = "0.2.8", default-features = false, features = ["trace"] }
tracing-subscriber = { version = "0.3.5", features = ["env-filter"] }

[features]
default = ["install"]
install = [] # Install the sandbox binary during compile time
interop_sdk = ["near-sdk"]
unstable = ["cargo_metadata"]
unstable = ["dep:cargo-near-build"]
experimental = ["near-chain-configs"]

[package.metadata.docs.rs]
Expand Down
2 changes: 2 additions & 0 deletions workspaces/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
mod cargo;
#[cfg(feature = "unstable")]
pub use cargo::compile_project;
#[cfg(feature = "unstable")]
pub use cargo_near_build;

mod worker;

Expand Down
2 changes: 1 addition & 1 deletion workspaces/tests/test-contracts/status-message/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ edition = "2018"
crate-type = ["cdylib"]

[dependencies]
near-sdk = "5.5.0"
near-sdk = "5.6.0"

[profile.release]
codegen-units = 1
Expand Down
2 changes: 1 addition & 1 deletion workspaces/tests/test-contracts/type-serialize/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ crate-type = ["cdylib"]

[dependencies]
bs58 = "0.5"
near-sdk = "5.5.0"
near-sdk = "5.6.0"

[profile.release]
codegen-units = 1
Expand Down

0 comments on commit 679d18e

Please sign in to comment.