Skip to content

Commit 4f7cf63

Browse files
authored
Merge pull request #1 from ak4code/claude/festive-brown-6fynyg
Add dead code detection analyzer for Django projects
2 parents 1c56bb9 + a18bb0a commit 4f7cf63

33 files changed

Lines changed: 2960 additions & 0 deletions

.github/workflows/ci.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
8+
env:
9+
CARGO_TERM_COLOR: always
10+
11+
jobs:
12+
quality:
13+
name: Качество кода и тесты
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Checkout
17+
uses: actions/checkout@v4
18+
19+
- name: Установка Rust
20+
uses: dtolnay/rust-toolchain@stable
21+
with:
22+
components: rustfmt, clippy
23+
24+
- name: Кеш сборки
25+
uses: Swatinem/rust-cache@v2
26+
27+
- name: Форматирование
28+
run: cargo fmt --all --check
29+
30+
- name: Статический анализ
31+
run: cargo clippy --all-targets -- -D warnings
32+
33+
- name: Тесты
34+
run: cargo test
35+
36+
- name: Релизная сборка
37+
run: cargo build --release

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/target

0 commit comments

Comments
 (0)