-
Notifications
You must be signed in to change notification settings - Fork 158
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
148 additions
and
148 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,34 +1,34 @@ | ||
name: chat test suite | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- 'chat/**' | ||
- '.github/workflows/**' | ||
jobs: | ||
build-test: | ||
runs-on: blacksmith-2vcpu-ubuntu-2204 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Setting up | ||
run: sed -i 's/chat\///' ./chat/.eslintrc.json | ||
- name: Install dependencies | ||
run: yarn --cwd chat | ||
- name: Running lint | ||
run: yarn --cwd chat build | ||
eslint: | ||
runs-on: blacksmith-2vcpu-ubuntu-2204 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Setting up | ||
run: sed -i 's/chat\///' ./chat/.eslintrc.json | ||
- name: Install dependencies | ||
run: yarn --cwd chat | ||
- name: Running lint | ||
run: yarn --cwd chat lint:CI | ||
- name: Annotate Code Linting Results | ||
uses: ataylorme/[email protected] | ||
if: always() | ||
with: | ||
repo-token: '${{ secrets.GITHUB_TOKEN }}' | ||
report-json: './chat/eslint_report.json' | ||
# name: chat test suite | ||
# | ||
# on: | ||
# pull_request: | ||
# paths: | ||
# - 'chat/**' | ||
# - '.github/workflows/**' | ||
# jobs: | ||
# build-test: | ||
# runs-on: blacksmith-2vcpu-ubuntu-2204 | ||
# steps: | ||
# - uses: actions/checkout@v2 | ||
# - name: Setting up | ||
# run: sed -i 's/chat\///' ./chat/.eslintrc.json | ||
# - name: Install dependencies | ||
# run: yarn --cwd chat | ||
# - name: Running lint | ||
# run: yarn --cwd chat build | ||
# eslint: | ||
# runs-on: blacksmith-2vcpu-ubuntu-2204 | ||
# steps: | ||
# - uses: actions/checkout@v2 | ||
# - name: Setting up | ||
# run: sed -i 's/chat\///' ./chat/.eslintrc.json | ||
# - name: Install dependencies | ||
# run: yarn --cwd chat | ||
# - name: Running lint | ||
# run: yarn --cwd chat lint:CI | ||
# - name: Annotate Code Linting Results | ||
# uses: ataylorme/[email protected] | ||
# if: always() | ||
# with: | ||
# repo-token: '${{ secrets.GITHUB_TOKEN }}' | ||
# report-json: './chat/eslint_report.json' |
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,78 +1,78 @@ | ||
name: rust test suite | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- 'server/**' | ||
- '.github/workflows/**' | ||
|
||
jobs: | ||
clippy_check_ingestion: | ||
runs-on: blacksmith-8vcpu-ubuntu-2204 | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Caching Rust Dep | ||
uses: useblacksmith/cache@v5 | ||
with: | ||
path: | | ||
~/.cargo/registry | ||
~/.cargo/git | ||
target | ||
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} | ||
- run: rustup component add clippy | ||
- uses: clechasseur/rs-clippy-check@v3 | ||
with: | ||
args: --features runtime-env --bin ingestion-microservice --manifest-path server/Cargo.toml | ||
- uses: useblacksmith/cache@v5 | ||
with: | ||
path: | | ||
~/.cargo/registry | ||
~/.cargo/git | ||
target | ||
key: ${{ matrix.rust }}-${{ hashFiles('**/Cargo.lock') }} | ||
restore-keys: | | ||
${{ runner.labels }}-rust-${{ matrix.rust }}- | ||
clippy_check: | ||
runs-on: blacksmith-8vcpu-ubuntu-2204 | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Caching Rust Dep | ||
uses: useblacksmith/cache@v5 | ||
with: | ||
path: | | ||
~/.cargo/registry | ||
~/.cargo/git | ||
target | ||
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} | ||
- run: rustup component add clippy | ||
- uses: clechasseur/rs-clippy-check@v3 | ||
with: | ||
args: --features runtime-env --manifest-path server/Cargo.toml | ||
- uses: useblacksmith/cache@v5 | ||
with: | ||
path: | | ||
~/.cargo/registry | ||
~/.cargo/git | ||
target | ||
key: ${{ matrix.rust }}-${{ hashFiles('**/Cargo.lock') }} | ||
restore-keys: | | ||
${{ runner.labels }}-rust-${{ matrix.rust }}- | ||
redoc: | ||
runs-on: blacksmith-8vcpu-ubuntu-2204 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Caching Rust Dep | ||
uses: useblacksmith/cache@v5 | ||
with: | ||
path: | | ||
~/.cargo/registry | ||
~/.cargo/git | ||
target | ||
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} | ||
- name: Installing Vaccum | ||
run: npm install -g @quobix/vacuum | ||
- name: Generating OpenAPI spec | ||
run: cargo run --features runtime-env --manifest-path server/Cargo.toml --bin redoc_ci > openapi.json | ||
- name: Vaccum lint | ||
run: vacuum lint openapi.json -r '.github/workflows/rules.yaml' -d | ||
|
||
# name: rust test suite | ||
# | ||
# on: | ||
# pull_request: | ||
# paths: | ||
# - 'server/**' | ||
# - '.github/workflows/**' | ||
# | ||
# jobs: | ||
# clippy_check_ingestion: | ||
# runs-on: blacksmith-8vcpu-ubuntu-2204 | ||
# steps: | ||
# - uses: actions/checkout@v1 | ||
# - name: Caching Rust Dep | ||
# uses: useblacksmith/cache@v5 | ||
# with: | ||
# path: | | ||
# ~/.cargo/registry | ||
# ~/.cargo/git | ||
# target | ||
# key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} | ||
# - run: rustup component add clippy | ||
# - uses: clechasseur/rs-clippy-check@v3 | ||
# with: | ||
# args: --features runtime-env --bin ingestion-microservice --manifest-path server/Cargo.toml | ||
# - uses: useblacksmith/cache@v5 | ||
# with: | ||
# path: | | ||
# ~/.cargo/registry | ||
# ~/.cargo/git | ||
# target | ||
# key: ${{ matrix.rust }}-${{ hashFiles('**/Cargo.lock') }} | ||
# restore-keys: | | ||
# ${{ runner.labels }}-rust-${{ matrix.rust }}- | ||
# clippy_check: | ||
# runs-on: blacksmith-8vcpu-ubuntu-2204 | ||
# steps: | ||
# - uses: actions/checkout@v1 | ||
# - name: Caching Rust Dep | ||
# uses: useblacksmith/cache@v5 | ||
# with: | ||
# path: | | ||
# ~/.cargo/registry | ||
# ~/.cargo/git | ||
# target | ||
# key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} | ||
# - run: rustup component add clippy | ||
# - uses: clechasseur/rs-clippy-check@v3 | ||
# with: | ||
# args: --features runtime-env --manifest-path server/Cargo.toml | ||
# - uses: useblacksmith/cache@v5 | ||
# with: | ||
# path: | | ||
# ~/.cargo/registry | ||
# ~/.cargo/git | ||
# target | ||
# key: ${{ matrix.rust }}-${{ hashFiles('**/Cargo.lock') }} | ||
# restore-keys: | | ||
# ${{ runner.labels }}-rust-${{ matrix.rust }}- | ||
# redoc: | ||
# runs-on: blacksmith-8vcpu-ubuntu-2204 | ||
# steps: | ||
# - uses: actions/checkout@v2 | ||
# - name: Caching Rust Dep | ||
# uses: useblacksmith/cache@v5 | ||
# with: | ||
# path: | | ||
# ~/.cargo/registry | ||
# ~/.cargo/git | ||
# target | ||
# key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} | ||
# - name: Installing Vaccum | ||
# run: npm install -g @quobix/vacuum | ||
# - name: Generating OpenAPI spec | ||
# run: cargo run --features runtime-env --manifest-path server/Cargo.toml --bin redoc_ci > openapi.json | ||
# - name: Vaccum lint | ||
# run: vacuum lint openapi.json -r '.github/workflows/rules.yaml' -d | ||
# |
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,36 +1,36 @@ | ||
name: search test suite | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- 'search/**' | ||
- '.github/workflows/**' | ||
jobs: | ||
build-test: | ||
runs-on: blacksmith-2vcpu-ubuntu-2204 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Setting up | ||
run: sed -i 's/search\///' ./search/.eslintrc.json | ||
- name: Install dependencies | ||
run: yarn --cwd search | ||
- name: Running lint | ||
run: yarn --cwd search build | ||
eslint: | ||
runs-on: blacksmith-2vcpu-ubuntu-2204 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Setting up | ||
run: sed -i 's/search\///' ./search/.eslintrc.json | ||
- name: Install dependencies | ||
run: yarn --cwd search | ||
- name: Running lint | ||
run: yarn --cwd search lint:CI | ||
- name: Annotate Code Linting Results | ||
uses: ataylorme/[email protected] | ||
if: always() | ||
with: | ||
repo-token: '${{ secrets.GITHUB_TOKEN }}' | ||
report-json: './search/eslint_report.json' | ||
|
||
|
||
# name: search test suite | ||
# | ||
# on: | ||
# pull_request: | ||
# paths: | ||
# - 'search/**' | ||
# - '.github/workflows/**' | ||
# jobs: | ||
# build-test: | ||
# runs-on: blacksmith-2vcpu-ubuntu-2204 | ||
# steps: | ||
# - uses: actions/checkout@v2 | ||
# - name: Setting up | ||
# run: sed -i 's/search\///' ./search/.eslintrc.json | ||
# - name: Install dependencies | ||
# run: yarn --cwd search | ||
# - name: Running lint | ||
# run: yarn --cwd search build | ||
# eslint: | ||
# runs-on: blacksmith-2vcpu-ubuntu-2204 | ||
# steps: | ||
# - uses: actions/checkout@v2 | ||
# - name: Setting up | ||
# run: sed -i 's/search\///' ./search/.eslintrc.json | ||
# - name: Install dependencies | ||
# run: yarn --cwd search | ||
# - name: Running lint | ||
# run: yarn --cwd search lint:CI | ||
# - name: Annotate Code Linting Results | ||
# uses: ataylorme/[email protected] | ||
# if: always() | ||
# with: | ||
# repo-token: '${{ secrets.GITHUB_TOKEN }}' | ||
# report-json: './search/eslint_report.json' | ||
# | ||
# |