diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 1ba1119..2dae80f 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -2,27 +2,18 @@ name: CI on: push: - branches: [ main, master ] + branches: [main] pull_request: - branches: [ main, master ] + branches: [main] jobs: test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - - name: Set up Rust - uses: actions-rs/toolchain@v1 + - uses: actions/setup-rust@v1 with: - toolchain: stable - override: true - - - name: Build project - run: cargo build --all - - - name: Run tests - run: cargo test --all - - - name: Run clippy - run: cargo clippy --all -- -D warnings + rust-version: stable + - run: cargo build --all-features + - run: cargo test --all-features + - run: cargo clippy --all-features -- -D warnings