Skip to content

Commit

Permalink
Merge branch 'v1.0-dev' into fix/select-random-identities-for-strateg…
Browse files Browse the repository at this point in the history
…y-documents
  • Loading branch information
pauldelucia authored May 22, 2024
2 parents 9e5d088 + ff8e7c5 commit fa37fab
Show file tree
Hide file tree
Showing 61 changed files with 1,778 additions and 468 deletions.
37 changes: 37 additions & 0 deletions .github/actions/javy/action.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
---
name: "Setup Javy"
description: "Setup Javy binaries"
inputs:
version:
description: Javy version to use
required: false
default: "1.4.0"
runs:
using: composite
steps:
- name: Install Javy
shell: bash
run: |
set -e
case "${{ runner.arch }}" in
"ARM64")
JAVY_ARCH="arm-linux"
;;
"X64")
JAVY_ARCH="x86_64-linux"
;;
*)
echo "Unsupported architecture: ${{ runner.arch }}"
exit 1
;;
esac
curl -Ls "https://github.com/bytecodealliance/javy/releases/download/v${{ inputs.version }}/javy-${JAVY_ARCH}-v${{ inputs.version }}.gz" | gunzip > javy
chmod +x javy
sudo mv javy /usr/local/bin/javy
- name: Verify Javy installation
shell: bash
run: javy --version
26 changes: 25 additions & 1 deletion .github/workflows/tests-rs-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,14 @@ jobs:
with:
components: clippy

- name: Setup Node.JS, required by json-schema-faker-rs
if: inputs.package == 'dpp'
uses: ./.github/actions/nodejs

- name: Setup Javy, required by json-schema-faker-rs
if: inputs.package == 'dpp'
uses: ./.github/actions/javy

- uses: clechasseur/rs-clippy-check@v3
with:
args: --package ${{ inputs.package }} --all-features --locked -- --no-deps
Expand Down Expand Up @@ -180,6 +188,14 @@ jobs:
- name: Setup Rust
uses: ./.github/actions/rust

- name: Setup Node.JS, required by json-schema-faker-rs
if: inputs.package == 'dpp'
uses: ./.github/actions/nodejs

- name: Setup Javy, required by json-schema-faker-rs
if: inputs.package == 'dpp'
uses: ./.github/actions/javy

- name: Run tests
run: cargo test --package=${{ inputs.package }} --all-features --locked
env:
Expand All @@ -205,7 +221,15 @@ jobs:
- name: Setup Rust
uses: ./.github/actions/rust

- name: Get crate ${{ inputs.package }} info
- name: Setup Node.JS, required by json-schema-faker-rs
if: inputs.package == 'dpp'
uses: ./.github/actions/nodejs

- name: Setup Javy, required by json-schema-faker-rs
if: inputs.package == 'dpp'
uses: ./.github/actions/javy

- name: Get crate ${{ runner.arch }} info
id: crate_info
uses: ./.github/actions/crate_info
with:
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## [1.0.0-dev.15](https://github.com/dashpay/platform/compare/v1.0.0-dev.14...v1.0.0-dev.15) (2024-05-22)


### Miscellaneous Chores

* **drive:** state transition observability ([#1846](https://github.com/dashpay/platform/issues/1846))

## [1.0.0-dev.14](https://github.com/dashpay/platform/compare/v1.0.0-dev.13...v1.0.0-dev.14) (2024-05-17)


Expand Down
Loading

0 comments on commit fa37fab

Please sign in to comment.