Skip to content

Commit

Permalink
feat: initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
fu050409 committed Sep 23, 2024
0 parents commit 73dd542
Show file tree
Hide file tree
Showing 18 changed files with 2,264 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .cspell.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"words": [
"Aion",
"aionbot",
"chronos",
"Deque",
"onebot",
"serde"
]
}
18 changes: 18 additions & 0 deletions .github/workflows/build-and-test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Build and Test
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Build
run: cargo build --verbose
- name: Test
run: cargo test --all --all-features --all-targets --verbose
25 changes: 25 additions & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Code Lint
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Code Spell Check
uses: streetsidesoftware/cspell-action@v6
with:
files: "**"
config: .cspell.json
strict: true
verbose: true
- name: Cargo Clippy
run: cargo clippy --all-targets --all-features -- -D warnings
- name: Rust Format Check
run: cargo fmt --all -- --check
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/target
Loading

0 comments on commit 73dd542

Please sign in to comment.