-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'development' into messaging-simplify-perf-reliability
* development: chore: rename substate/shard related identifiers (#903) chore: add prettier settings and format all code (#900)
- Loading branch information
Showing
345 changed files
with
6,148 additions
and
10,216 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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
--- | ||
name: CI | ||
|
||
'on': | ||
"on": | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
|
@@ -26,7 +26,7 @@ env: | |
jobs: | ||
fmt: | ||
name: fmt | ||
runs-on: [ self-hosted, ubuntu-high-cpu ] | ||
runs-on: [self-hosted, ubuntu-high-cpu] | ||
|
||
steps: | ||
- name: checkout | ||
|
@@ -48,10 +48,25 @@ jobs: | |
|
||
- name: cargo format | ||
run: cargo +${{ env.nightly_toolchain }} fmt --all -- --check | ||
prettier: | ||
name: prettier | ||
runs-on: [self-hosted, ubuntu-high-cpu] | ||
|
||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: install | ||
run: | | ||
npm install [email protected] | ||
- name: prettier | ||
run: | | ||
npx prettier --check "./**/*.{ts,tsx,css,json}" | ||
clippy: | ||
name: clippy | ||
runs-on: [ self-hosted, ubuntu-high-cpu ] | ||
runs-on: [self-hosted, ubuntu-high-cpu] | ||
|
||
steps: | ||
- name: checkout | ||
|
@@ -106,7 +121,7 @@ jobs: | |
build: | ||
name: check nightly | ||
runs-on: [ self-hosted, ubuntu-high-cpu ] | ||
runs-on: [self-hosted, ubuntu-high-cpu] | ||
|
||
steps: | ||
- name: checkout | ||
|
@@ -132,7 +147,7 @@ jobs: | |
|
||
build-stable: | ||
name: check stable | ||
runs-on: [ self-hosted, ubuntu-high-cpu ] | ||
runs-on: [self-hosted, ubuntu-high-cpu] | ||
|
||
steps: | ||
- name: checkout | ||
|
@@ -181,7 +196,7 @@ jobs: | |
|
||
test: | ||
name: test | ||
runs-on: [ self-hosted, ubuntu-high-cpu ] | ||
runs-on: [self-hosted, ubuntu-high-cpu] | ||
|
||
steps: | ||
- name: checkout | ||
|
@@ -212,7 +227,7 @@ jobs: | |
run: cargo nextest run --all-features --release -E "not package(integration_tests)" --profile ci | ||
|
||
- name: upload artifact | ||
uses: actions/upload-artifact@v4 # upload test results as artifact | ||
uses: actions/upload-artifact@v4 # upload test results as artifact | ||
if: success() || failure() | ||
with: | ||
name: test-results | ||
|
@@ -222,11 +237,11 @@ jobs: | |
run: cargo test --all-features --release --package integration_tests | ||
|
||
- name: upload test result artifact | ||
uses: actions/upload-artifact@v4 # upload test results as artifact | ||
uses: actions/upload-artifact@v4 # upload test results as artifact | ||
if: success() || failure() | ||
with: | ||
name: cucumber-test-results | ||
path: ${{ github.workspace }}/integration_tests/cucumber-output-junit.xml | ||
name: cucumber-test-results | ||
path: ${{ github.workspace }}/integration_tests/cucumber-output-junit.xml | ||
|
||
- name: Upload cucumber log artifacts | ||
uses: actions/upload-artifact@v4 | ||
|
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,12 @@ | ||
{ | ||
"printWidth": 120, | ||
"tabWidth": 2, | ||
"useTabs": false, | ||
"semi": true, | ||
"singleQuote": false, | ||
"trailingComma": "all", | ||
"bracketSpacing": true, | ||
"bracketSameLine": false, | ||
"arrowParens": "always", | ||
"endOfLine": "lf" | ||
} |
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
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.