Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…o cl/private_keys
  • Loading branch information
mrain committed Nov 6, 2024
2 parents 790809c + 42cf3cc commit fe07e70
Show file tree
Hide file tree
Showing 83 changed files with 2,593 additions and 1,796 deletions.
4 changes: 4 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ updates:
- "*"
exclude-patterns:
- "cdn-*"
- "ark-*"
cdn:
patterns:
- "cdn-*"
ark:
patterns:
- "ark-*"
18 changes: 3 additions & 15 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,7 @@ jobs:
cache-on-failure: "true"
save-if: ${{ github.ref == 'refs/heads/main' && matrix.test_suites == 'test-ci-rest' }}

- name: Install Just
run: |
wget https://github.com/casey/just/releases/download/1.14.0/just-1.14.0-x86_64-unknown-linux-musl.tar.gz
tar -vxf just-1.14.0-x86_64-unknown-linux-musl.tar.gz just
sudo cp just /usr/bin/just
- uses: taiki-e/install-action@just

- uses: taiki-e/install-action@nextest

Expand Down Expand Up @@ -83,11 +79,7 @@ jobs:
cache-on-failure: "true"
save-if: ${{ github.ref == 'refs/heads/main' }}

- name: Install Just
run: |
wget https://github.com/casey/just/releases/download/1.14.0/just-1.14.0-x86_64-unknown-linux-musl.tar.gz
tar -vxf just-1.14.0-x86_64-unknown-linux-musl.tar.gz just
sudo cp just /usr/bin/just
- uses: taiki-e/install-action@just

- name: Test examples
run: |
Expand Down Expand Up @@ -117,11 +109,7 @@ jobs:
cache-on-failure: "true"
save-if: ${{ github.ref == 'refs/heads/main' }}

- name: Install Just
run: |
wget https://github.com/casey/just/releases/download/1.14.0/just-1.14.0-x86_64-unknown-linux-musl.tar.gz
tar -vxf just-1.14.0-x86_64-unknown-linux-musl.tar.gz just
sudo cp just /usr/bin/just
- uses: taiki-e/install-action@just

- name: Build examples in release mode
run: just ${{ matrix.just_variants }} build_release --examples --package hotshot-examples --no-default-features
Expand Down
40 changes: 40 additions & 0 deletions .github/workflows/build-without-lockfile.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Build without committed Cargo.lock

on:
push:
branches:
- main
- release-*
tags:
# YYYYMMDD
- "20[0-9][0-9][0-1][0-9][0-3][0-9]*"
schedule:
- cron: "0 0 * * 1"
pull_request:
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

env:
RUSTFLAGS: '--cfg async_executor_impl="async-std" --cfg async_channel_impl="async-std"'

jobs:
build-ignore-lockfile:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
submodules: recursive

- name: Enable Rust Caching
uses: Swatinem/rust-cache@v2
with:
prefix-key: v1-rust

- name: Build without committed Cargo.lock
run: |
cargo generate-lockfile
cargo check --all-targets
6 changes: 1 addition & 5 deletions .github/workflows/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,7 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@v4

- name: Install Just
run: |
wget https://github.com/casey/just/releases/download/1.14.0/just-1.14.0-x86_64-unknown-linux-musl.tar.gz
tar -vxf just-1.14.0-x86_64-unknown-linux-musl.tar.gz just
sudo cp just /usr/bin/just
- uses: taiki-e/install-action@just

- uses: Swatinem/rust-cache@v2
name: Enable Rust Caching
Expand Down
12 changes: 2 additions & 10 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,7 @@ jobs:
prefix-key: ${{ matrix.just_variants }}
save-if: ${{ github.ref == 'refs/heads/main' }}

- name: Install Just
run: |
wget https://github.com/casey/just/releases/download/1.14.0/just-1.14.0-x86_64-unknown-linux-musl.tar.gz
tar -vxf just-1.14.0-x86_64-unknown-linux-musl.tar.gz just
sudo cp just /usr/bin/just
- uses: taiki-e/install-action@just

- name: Run clippy
run: |
Expand All @@ -56,11 +52,7 @@ jobs:
- name: Install Rust
uses: mkroening/rust-toolchain-toml@main

- name: Install Just
run: |
wget https://github.com/casey/just/releases/download/1.14.0/just-1.14.0-x86_64-unknown-linux-musl.tar.gz
tar -vxf just-1.14.0-x86_64-unknown-linux-musl.tar.gz just
sudo cp just /usr/bin/just
- uses: taiki-e/install-action@just

- name: Check rustfmt
run: |
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/semver-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,7 @@ jobs:
path: baseline
ref: ${{ inputs.baseline }}

- name: Install Just
run: |
wget https://github.com/casey/just/releases/download/1.14.0/just-1.14.0-x86_64-unknown-linux-musl.tar.gz
tar -vxf just-1.14.0-x86_64-unknown-linux-musl.tar.gz just
sudo cp just /usr/bin/just
- uses: taiki-e/install-action@just

- name: Install Rust
uses: mkroening/rust-toolchain-toml@main
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Adds new type parameter, corresponding to the state type, to Message
### Features
- StatefulHandler trait
- Reexport traits from traits module
- State Machine + NodeImplementation
- State Machine + Node Implementation
- state machine mvp megasquash
- Replace tokio broadcast queue with unbounded equivalent

Expand Down
Loading

0 comments on commit fe07e70

Please sign in to comment.