This commit is contained in:
sparshg
2024-09-23 22:43:01 +05:30
parent 64f2c27bfc
commit 027b875144
19 changed files with 392 additions and 12 deletions

23
.github/workflows/ci.yml vendored Normal file
View File

@@ -0,0 +1,23 @@
name: Rust
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
SQLX_OFFLINE: true
jobs:
check-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check
run: cargo check
- name: Clippy
run: cargo clippy
- name: Format
run: cargo fmt --all --check