This repository has been archived by the owner on Aug 2, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 296
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'madara/main'
- Loading branch information
Showing
59 changed files
with
1,629 additions
and
111,248 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,32 @@ | ||
--- | ||
name: Task - Configs Verifier | ||
|
||
on: | ||
workflow_dispatch: | ||
workflow_call: | ||
|
||
jobs: | ||
genesis-docs: | ||
name: Genesis documentation | ||
runs-on: ubuntu-latest | ||
if: ${{ github.event.label.name != 'ignore-docs' }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- name: Ensure docs changes | ||
run: | | ||
if [[ -n $(git diff --name-only origin/main | grep configs/genesis-assets/genesis.json) ]]; then | ||
git diff --name-only origin/main | grep docs/genesis.md | ||
fi | ||
configs-hashes: | ||
name: Verify genesis-assets hashes | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Verify hashes | ||
run: | | ||
for f in $(find configs/genesis-assets/ -type f -not -path configs/index.json); do | ||
cat configs/index.json | grep $(md5sum $f | awk '{print $1}') | ||
done |
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,38 @@ | ||
--- | ||
name: Task - Integration Tests | ||
|
||
on: | ||
workflow_dispatch: | ||
workflow_call: | ||
|
||
jobs: | ||
coverage: | ||
# sadly, for now we have to "rebuild" for the coverage | ||
runs-on: ubuntu-latest-32-cores | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/cache@v3 | ||
with: | ||
path: | | ||
~/.cargo/bin/ | ||
~/.cargo/registry/index/ | ||
~/.cargo/registry/cache/ | ||
~/.cargo/git/db/ | ||
target/ | ||
key: | ||
${{ runner.os }}-cargo-${{ hashFiles('Cargo.lock') }}-${{ | ||
github.run_id }} | ||
fail-on-cache-miss: true | ||
- name: Setup build deps | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install -y clang llvm libudev-dev protobuf-compiler | ||
- name: Install cargo-llvm-cov | ||
uses: taiki-e/install-action@cargo-llvm-cov | ||
- name: Coverage | ||
run: cargo llvm-cov --codecov --output-path codecov.json | ||
- name: Upload coverage to codecov.io | ||
uses: codecov/codecov-action@v3 | ||
with: | ||
files: codecov.json | ||
fail_ci_if_error: false |
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
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.