-
Notifications
You must be signed in to change notification settings - Fork 12
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
82 changed files
with
4,848 additions
and
6,412 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
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
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,8 +1,10 @@ | ||
blank_issues_enabled: false | ||
|
||
contact_links: | ||
- name: ❓ Ask a question | ||
- name: ❓ Ask Question | ||
url: https://github.com/oasysai/oasysdb/discussions | ||
about: Ask general questions or share ideas on Discussions. | ||
|
||
- name: 💬 Join Discord | ||
url: https://discord.gg/bDhQrkqNP4 | ||
about: Join the Discord server to help shape the future of OasysDB. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
name: Test Database | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
pull_request: | ||
paths-ignore: | ||
- "docs/**" | ||
- "clients/**" | ||
|
||
push: | ||
branches: | ||
- main | ||
paths-ignore: | ||
- "docs/**" | ||
- "clients/**" | ||
|
||
jobs: | ||
rustfmt-format: | ||
name: Check code formatting | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout the code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Install Rust toolchain | ||
uses: dtolnay/rust-toolchain@stable | ||
with: | ||
components: rustfmt | ||
|
||
- name: Run cargo fmt with check | ||
run: cargo fmt -- --check | ||
|
||
clippy-lint: | ||
name: Lint code with Clippy | ||
needs: rustfmt-format | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout the code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Install Rust toolchain | ||
uses: dtolnay/rust-toolchain@stable | ||
with: | ||
components: clippy | ||
|
||
- name: Install Protobuf compiler | ||
run: | | ||
sudo apt update && sudo apt upgrade -y | ||
sudo apt install -y protobuf-compiler libprotobuf-dev | ||
- name: Run cargo clippy | ||
run: cargo clippy -- -D warnings | ||
|
||
run-rust-tests: | ||
name: Run Rust tests | ||
needs: clippy-lint | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout the code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Install Rust toolchain | ||
uses: dtolnay/rust-toolchain@stable | ||
|
||
- name: Install Protobuf compiler | ||
run: | | ||
sudo apt update && sudo apt upgrade -y | ||
sudo apt install -y protobuf-compiler libprotobuf-dev | ||
- name: Run cargo test | ||
run: cargo test --all-features -- --test-threads 1 |
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.