ci: drop release-build, add clippy
Some checks failed
CI / Check / Test (push) Failing after 42s

This commit is contained in:
2026-05-30 02:24:05 +02:00
parent 84ddf04d28
commit c2985dd579

View File

@@ -35,30 +35,8 @@ jobs:
- name: fmt - name: fmt
run: cargo fmt --all -- --check run: cargo fmt --all -- --check
- name: clippy
run: cargo clippy --all-targets -- -D warnings
- name: test - name: test
run: cargo test run: cargo test
release-build:
name: Release build
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master' && github.event_name == 'push'
needs: ci
steps:
- uses: actions/checkout@v4
- name: Install Rust stable
uses: dtolnay/rust-toolchain@stable
- name: Cache cargo
uses: actions/cache@v4
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-release-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-cargo-release-
- name: build (release)
run: cargo build --release -p presentation -p worker