Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ updates:
interval: "weekly"

- package-ecosystem: "cargo"
directory: "/rook/"
directory: "/"
schedule:
interval: "daily"
23 changes: 9 additions & 14 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
uses: EmbarkStudios/cargo-deny-action@v2
with:
log-level: warn
manifest-path: ./rook/Cargo.toml
manifest-path: ./Cargo.toml
command: check
arguments: --all-features

Expand All @@ -52,15 +52,13 @@ jobs:
- name: Cache Cargo build
uses: actions/cache@v4
with:
path: rook/target
key: ${{ runner.os }}-cargo-build-${{ hashFiles('rook/Cargo.lock') }}
path: target
key: ${{ runner.os }}-cargo-build-${{ hashFiles('Cargo.lock') }}

- name: Check formatting
working-directory: rook
run: cargo fmt -- --check

- name: Lint with Clippy
working-directory: rook
run: cargo clippy -- -D warnings

build:
Expand All @@ -80,11 +78,10 @@ jobs:
- name: Cache Cargo build
uses: actions/cache@v4
with:
path: rook/target
key: ${{ runner.os }}-cargo-build-${{ hashFiles('rook/Cargo.lock') }}
path: target
key: ${{ runner.os }}-cargo-build-${{ hashFiles('Cargo.lock') }}

- name: Build
working-directory: rook
run: cargo build --verbose

test:
Expand Down Expand Up @@ -117,11 +114,10 @@ jobs:
- name: Cache Cargo build
uses: actions/cache@v4
with:
path: rook/target
key: ${{ runner.os }}-cargo-build-${{ hashFiles('rook/Cargo.lock') }}
path: target
key: ${{ runner.os }}-cargo-build-${{ hashFiles('Cargo.lock') }}

- name: Run tests
working-directory: rook
env:
DATABASE_URL: postgres://postgres:postgres@localhost:5432/postgres
run: cargo test --verbose
Expand Down Expand Up @@ -161,11 +157,10 @@ jobs:
path: |
~/.cargo/registry
~/.cargo/git
rook/target
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}

- name: Generate coverage report
working-directory: rook
env:
DATABASE_URL: postgres://postgres:postgres@localhost:5432/postgres
run: |
Expand All @@ -175,4 +170,4 @@ jobs:
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: rook/lcov.info
path-to-lcov: lcov.info
1 change: 0 additions & 1 deletion .github/workflows/shuttle_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,3 @@ jobs:
with:
shuttle-api-key: ${{ secrets.SHUTTLE_API_KEY }}
project-id: ${{ secrets.SHUTTLE_PROJECT_ID }}
working-directory: rook
21 changes: 18 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
rook/target
# Cargo
/target

# IDEs
/.idea
rook/.shuttle*
rook/Secrets*.toml

# Shuttle
.shuttle*
Secrets*.toml

# vim swap files
*.swp
*.swo
*.swn

# Vim backup files
*~

# Vim undo files
*.un~
13 changes: 6 additions & 7 deletions rook/Cargo.lock → Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion rook/Cargo.toml → Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ version = "0.1.0"
edition = "2024"
repository = "https://github.com/reddevilmidzy/queensac"
license = "Apache-2.0"
readme = "../README.md"
readme = "README.md"

[dependencies]
axum = "0.8"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 0 additions & 1 deletion pawn/.gitkeep

This file was deleted.

5 changes: 0 additions & 5 deletions rook/.gitignore

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.