fix: add Gitea Actions CI workflow for Rust project
Some checks failed
CI / test (push) Failing after 1s

This commit is contained in:
2026-01-31 23:00:56 +00:00
parent 553e1f1620
commit d7b957ce4d

View File

@@ -2,27 +2,18 @@ name: CI
on: on:
push: push:
branches: [ main, master ] branches: [main]
pull_request: pull_request:
branches: [ main, master ] branches: [main]
jobs: jobs:
test: test:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: actions/setup-rust@v1
- name: Set up Rust
uses: actions-rs/toolchain@v1
with: with:
toolchain: stable rust-version: stable
override: true - run: cargo build --all-features
- run: cargo test --all-features
- name: Build project - run: cargo clippy --all-features -- -D warnings
run: cargo build --all
- name: Run tests
run: cargo test --all
- name: Run clippy
run: cargo clippy --all -- -D warnings