Skip to content

Commit

Permalink
Revert "Merge branch 'master' into bvrooman/feat/generic_key_size_spa…
Browse files Browse the repository at this point in the history
…rse_merkle_tree"

This reverts commit 3cc6785, reversing
changes made to 39633e9.
  • Loading branch information
bvrooman committed May 31, 2024
1 parent 3cc6785 commit 7b5f58c
Show file tree
Hide file tree
Showing 219 changed files with 8,225 additions and 18,235 deletions.
22 changes: 0 additions & 22 deletions .github/pull_request_template.md

This file was deleted.

52 changes: 6 additions & 46 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ concurrency:

env:
CARGO_TERM_COLOR: always
RUST_VERSION: 1.75.0
NIGHTLY_RUST_VERSION: nightly-2024-02-07
RUST_VERSION: 1.73.0
NIGHTLY_RUST_VERSION: nightly-2023-10-29

jobs:
check-changelog:
Expand Down Expand Up @@ -137,14 +137,13 @@ jobs:
- rustfmt
- cargo
- cargo-toml-fmt-check
- publish-check
- publish-wasm-packages-check
runs-on: ubuntu-latest
steps:
- run: true

publish-check:
runs-on: ubuntu-latest
if: github.event_name == 'release'
steps:
- name: Checkout repository
uses: actions/checkout@v3
Expand All @@ -154,54 +153,15 @@ jobs:
toolchain: ${{ env.RUST_VERSION }}

- name: Publish crate check
uses: xgreenx/publish-crates@v1
uses: katyo/publish-crates@v2
with:
dry-run: true
check-repo: false
ignore-unpublished-changes: true

publish-wasm-packages-check:
needs:
- publish-check
runs-on: buildjet-4vcpu-ubuntu-2204

steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.ref }}

- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ env.RUST_VERSION }}
targets: "wasm32-unknown-unknown"

- name: Installing required crates
run: cargo install wasm-bindgen-cli wasm-opt

- name: Setup PNPM
uses: pnpm/action-setup@v2
with:
version: 8.6.9

- name: Setup Node
uses: actions/setup-node@v3
with:
cache: "pnpm"
node-version: 18.14.1
node-version-file: ".npm/package.json"
cache-dependency-path: ".npm/pnpm-lock.yaml"
registry-url: 'https://registry.npmjs.org'

- name: Build and Test packages
run: |
pnpm -C .npm install
pnpm -C .npm pack:all

publish:
# Only do this job if publishing a release and all checks pass.
needs:
- verifications-complete
- publish-check
if: github.event_name == 'release' && github.event.action == 'published'
runs-on: buildjet-4vcpu-ubuntu-2204

Expand All @@ -218,7 +178,7 @@ jobs:
./.github/workflows/scripts/verify_tag.sh ${{ github.ref_name }} Cargo.toml
- name: Publish crate
uses: xgreenx/publish-crates@v1
uses: katyo/publish-crates@v2
with:
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}

Expand Down
Loading

0 comments on commit 7b5f58c

Please sign in to comment.