-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add temporary node template (#69)
* Reset the project * feat: Introduce [email protected] * feat: Introduce [email protected] * feat: Introduce [email protected] * feat: Introduce [email protected] * feat: Introduce [email protected] * feat: Introduce [email protected] * feat: Introduce [email protected] * feat: Add temporary node template * build: Add wasm32 toolchain * chore: Fix clippy errors * fix: Fix handling duplicate values in UniqueMultimap * build: Add missing toolchain component * chore: Fix clippy error with unreachable pattern
- Loading branch information
Showing
119 changed files
with
4,085 additions
and
8,015 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
vendor/* linguist-vendored |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,47 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: [ "main" ] | ||
branches: [main] | ||
pull_request: | ||
branches: [ "main" ] | ||
|
||
env: | ||
CARGO_TERM_COLOR: always | ||
|
||
jobs: | ||
check: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
- uses: arduino/setup-protoc@v3 | ||
- run: rustup show | ||
- uses: Swatinem/rust-cache@v2 | ||
- name: Check | ||
run: cargo check --all-targets | ||
- name: Format | ||
run: cargo fmt --all --check | ||
- name: Lint | ||
run: cargo clippy --no-deps -- -Dwarnings | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
- uses: arduino/setup-protoc@v3 | ||
- run: rustup show | ||
- uses: Swatinem/rust-cache@v2 | ||
- name: Build | ||
run: cargo build -v | ||
test: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: dtolnay/rust-toolchain@nightly | ||
with: | ||
targets: wasm32-unknown-unknown | ||
components: rust-src, rustfmt | ||
- name: Install build dependencies | ||
run: sudo apt-get install protobuf-compiler | ||
- name: Rust Cache | ||
uses: Swatinem/[email protected] | ||
- name: Lint | ||
run: cargo fmt -- --check | ||
- name: Build | ||
run: cargo build --verbose | ||
- name: Run tests | ||
run: cargo test --verbose | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
- uses: arduino/setup-protoc@v3 | ||
- run: rustup show | ||
- uses: Swatinem/rust-cache@v2 | ||
- name: Test | ||
run: cargo test --all |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.