This repository has been archived by the owner on Jul 22, 2023. It is now read-only.
-
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.
Merge pull request #1123 from Calciumdibromid/develop
Release v0.5.0
- Loading branch information
Showing
830 changed files
with
10,234 additions
and
7,694 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,2 @@ | ||
# Save all text files with linux line endings | ||
* text=auto eol=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 was deleted.
Oops, something went wrong.
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,36 @@ | ||
name: checks | ||
|
||
on: | ||
# Triggers the workflow on push or pull request events but only for the main and develop branches | ||
push: | ||
branches: [main, develop] | ||
pull_request: | ||
branches: [main, develop] | ||
paths: | ||
- '.github/workflows/crates.yml' | ||
- 'crates/**' | ||
|
||
jobs: | ||
crates: | ||
runs-on: ubuntu-20.04 | ||
container: a6543/cabr2_ci:latest | ||
strategy: | ||
fail-fast: true | ||
steps: | ||
- name: Checkout Project | ||
uses: actions/checkout@v2 | ||
|
||
- name: Set Rust Toolchain | ||
run: rustup default stable | ||
|
||
- name: Check formatting crates | ||
run: cd crates && cargo fmt -- --check | ||
|
||
- name: Lint crates | ||
run: cd crates && cargo clippy --workspace --all-features -- --deny clippy::all --deny warnings | ||
|
||
- name: Build crates | ||
run: cd crates && cargo build --workspace --all-features | ||
|
||
- name: Test crates | ||
run: cd crates && cargo test --workspace --all-features |
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,22 @@ | ||
name: checks | ||
|
||
on: | ||
# Triggers the workflow on push or pull request events but only for the main and develop branches | ||
push: | ||
branches: [main, develop] | ||
pull_request: | ||
branches: [main, develop] | ||
|
||
jobs: | ||
codespell: | ||
runs-on: ubuntu-20.04 | ||
strategy: | ||
fail-fast: true | ||
steps: | ||
- name: codespell | ||
uses: codespell-project/actions-codespell@master | ||
with: | ||
check_filenames: true | ||
check_hidden: true | ||
skip: ./.git,./.gitignore,node_modules,dist,yarn.lock,./src/assets,./translations | ||
ignore_words_list: crate,ser |
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,40 @@ | ||
name: checks | ||
|
||
on: | ||
# Triggers the workflow on push or pull request events but only for the main and develop branches | ||
push: | ||
branches: [main, develop] | ||
pull_request: | ||
branches: [main, develop] | ||
paths: | ||
- '.github/workflows/frontend-rust.yml' | ||
- 'frontend/src-tauri/**' | ||
|
||
jobs: | ||
frontend-rust: | ||
runs-on: ubuntu-20.04 | ||
container: a6543/cabr2_ci:latest | ||
strategy: | ||
fail-fast: true | ||
steps: | ||
- name: Checkout Project | ||
uses: actions/checkout@v2 | ||
|
||
- name: Set Rust Toolchain | ||
run: rustup default stable | ||
|
||
- name: Fix Build | ||
run: mkdir -p frontend/dist/CaBr2 && echo "Hello" > frontend/dist/CaBr2/index.html | ||
|
||
- name: Check formatting Tauri app | ||
run: cd frontend/src-tauri && cargo fmt -- --check | ||
|
||
- name: Lint Tauri app | ||
run: cd frontend/src-tauri && cargo clippy --all-features -- --deny clippy::all --deny warnings | ||
|
||
- name: Build Tauri app | ||
run: cd frontend/src-tauri && cargo build | ||
|
||
# TODO(692) reactivate when tests are written | ||
# - name: Test Tauri app | ||
# run: cd frontend/src-tauri && cargo test |
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,40 @@ | ||
name: checks | ||
|
||
on: | ||
# Triggers the workflow on push or pull request events but only for the main and develop branches | ||
push: | ||
branches: [main, develop] | ||
pull_request: | ||
branches: [main, develop] | ||
paths: | ||
- '.github/workflows/wasm-lib.yml' | ||
- 'frontend/src-wasm/**' | ||
|
||
jobs: | ||
wasm-lib: | ||
runs-on: ubuntu-20.04 | ||
container: a6543/cabr2_ci:latest | ||
strategy: | ||
fail-fast: true | ||
steps: | ||
- name: Checkout Project | ||
uses: actions/checkout@v2 | ||
|
||
- name: Set Rust Toolchain | ||
run: rustup default stable | ||
|
||
- name: Check formatting WASM library | ||
run: cd frontend/src-wasm && cargo fmt -- --check | ||
|
||
- name: Lint WASM library | ||
run: cd frontend/src-wasm && cargo clippy --all-features -- --deny clippy::all --deny warnings | ||
|
||
- name: Build WASM library debug | ||
run: cd frontend/src-wasm && wasm-pack build --out-dir ../cabr2_wasm --dev -- --features debug_build | ||
|
||
- name: Build WASM library release | ||
run: cd frontend/src-wasm && wasm-pack build --out-dir ../cabr2_wasm --release | ||
|
||
# TODO(692) reactivate when tests are written | ||
# - name: Test WASM library | ||
# run: cd frontend/src-wasm && cargo test |
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,37 @@ | ||
name: checks | ||
|
||
on: | ||
# Triggers the workflow on push or pull request events but only for the main and develop branches | ||
push: | ||
branches: [main, develop] | ||
pull_request: | ||
branches: [main, develop] | ||
paths: | ||
- '.github/workflows/webserver.yml' | ||
- 'webserver/**' | ||
|
||
jobs: | ||
webserver: | ||
runs-on: ubuntu-20.04 | ||
container: a6543/cabr2_ci:latest | ||
strategy: | ||
fail-fast: true | ||
steps: | ||
- name: Checkout Project | ||
uses: actions/checkout@v2 | ||
|
||
- name: Set Rust Toolchain | ||
run: rustup default stable | ||
|
||
- name: Check formatting webserver | ||
run: cd webserver && cargo fmt -- --check | ||
|
||
- name: Lint webserver | ||
run: cd webserver && cargo clippy --all-features -- --deny clippy::all --deny warnings | ||
|
||
- name: Build webserver | ||
run: cd webserver && cargo build | ||
|
||
# TODO(692) reactivate when tests are written | ||
# - name: Test Webserver | ||
# run: cd webserver && cargo test |
Oops, something went wrong.