-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from zoedberg/init
bootstrap project
- Loading branch information
Showing
40 changed files
with
5,712 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
name: Code checks | ||
|
||
on: | ||
push: | ||
branches: [ "master" ] | ||
pull_request: | ||
branches: [ "master" ] | ||
|
||
env: | ||
CARGO_TERM_COLOR: always | ||
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 10 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions-rust-lang/setup-rust-toolchain@v1 | ||
with: | ||
components: clippy | ||
- name: Lint | ||
run: cargo clippy --all-targets -- -D warnings | ||
|
||
format: | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 10 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions-rust-lang/setup-rust-toolchain@v1 | ||
with: | ||
components: rustfmt | ||
- name: Format | ||
run: cargo fmt --all -- --check | ||
|
||
test_and_coverage: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup rust toolchain | ||
uses: actions-rust-lang/setup-rust-toolchain@v1 | ||
with: | ||
components: llvm-tools-preview | ||
toolchain: stable | ||
|
||
- name: Install llvm-cov | ||
env: | ||
LLVM_COV_RELEASES: https://github.com/taiki-e/cargo-llvm-cov/releases | ||
run: | | ||
host=$(rustc -Vv | grep host | sed 's/host: //') | ||
curl -fsSL $LLVM_COV_RELEASES/latest/download/cargo-llvm-cov-$host.tar.gz | tar xzf - -C "$HOME/.cargo/bin" | ||
- name: Test and generate coverage report | ||
run: cargo llvm-cov --lcov --output-path coverage.lcov | ||
|
||
- name: Upload coverage report | ||
uses: codecov/codecov-action@v4 | ||
with: | ||
fail_ci_if_error: true | ||
file: coverage.lcov | ||
flags: rust | ||
token: ${{ secrets.CODECOV_TOKEN }} |
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,3 @@ | ||
**/target | ||
**/tests/tmp | ||
/.vim |
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,69 @@ | ||
[submodule "rgb-std"] | ||
path = rgb-std | ||
url = https://github.com/RGB-WG/rgb-std.git | ||
[submodule "rust-aluvm"] | ||
path = rust-aluvm | ||
url = https://github.com/aluvm/rust-aluvm | ||
[submodule "rgb-interfaces"] | ||
path = rgb-interfaces | ||
url = https://github.com/RGB-WG/rgb-interfaces | ||
[submodule "client_side_validation"] | ||
path = client_side_validation | ||
url = https://github.com/LNP-BP/client_side_validation/ | ||
[submodule "bp-core"] | ||
path = bp-core | ||
url = https://github.com/BP-WG/bp-core | ||
[submodule "rgb-core"] | ||
path = rgb-core | ||
url = https://github.com/RGB-WG/rgb-core | ||
[submodule "bp-std"] | ||
path = bp-std | ||
url = https://github.com/BP-WG/bp-std | ||
[submodule "rgb-schemata"] | ||
path = rgb-schemata | ||
url = https://github.com/RGB-WG/rgb-schemata | ||
[submodule "strict-types"] | ||
path = strict-types | ||
url = https://github.com/strict-types/strict-types | ||
[submodule "strict-encoding"] | ||
path = strict-encoding | ||
url = https://github.com/strict-types/strict-encoding | ||
[submodule "bp-electrum-client"] | ||
path = bp-electrum-client | ||
url = https://github.com/BP-WG/bp-electrum-client/ | ||
[submodule "rust-amplify"] | ||
path = rust-amplify | ||
url = https://github.com/rust-amplify/rust-amplify | ||
[submodule "rgb"] | ||
path = rgb | ||
url = https://github.com/RGB-WG/rgb | ||
[submodule "descriptor-wallet"] | ||
path = descriptor-wallet | ||
url = https://github.com/BP-WG/descriptor-wallet | ||
[submodule "bp-wallet"] | ||
path = bp-wallet | ||
url = https://github.com/BP-WG/bp-wallet | ||
[submodule "amplify-num"] | ||
path = amplify-num | ||
url = https://github.com/rust-amplify/amplify-num.git | ||
[submodule "amplify-derive"] | ||
path = amplify-derive | ||
url = https://github.com/rust-amplify/amplify-derive.git | ||
[submodule "ascii-armor"] | ||
path = ascii-armor | ||
url = https://github.com/UBIDECO/ascii-armor.git | ||
[submodule "rust-baid58"] | ||
path = rust-baid58 | ||
url = https://github.com/UBIDECO/rust-baid58 | ||
[submodule "bitcoin_foundation"] | ||
path = bitcoin_foundation | ||
url = https://github.com/BP-WG/bitcoin_foundation.git | ||
[submodule "bp-esplora-client"] | ||
path = bp-esplora-client | ||
url = https://github.com/BP-WG/bp-esplora-client.git | ||
[submodule "encoding_derive_helpers"] | ||
path = encoding_derive_helpers | ||
url = https://github.com/strict-types/encoding_derive_helpers.git | ||
[submodule "vesper"] | ||
path = vesper | ||
url = https://github.com/UBIDECO/vesper.git |
Oops, something went wrong.