Skip to content

Commit

Permalink
Add CI
Browse files Browse the repository at this point in the history
  • Loading branch information
GnomedDev committed Dec 10, 2023
1 parent 696aee4 commit 062a249
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: CI

on:
pull_request:
push:

jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Run Cargo test
run: cargo test --all-features

clippy:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Install cargo hack
uses: taiki-e/install-action@cargo-hack

- name: Run Cargo clippy on all feature combinations
run: cargo hack clippy --feature-powerset -- --deny warnings

0 comments on commit 062a249

Please sign in to comment.