diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 000000000..c1c2dba34 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,19 @@ +name: CI +on: [push, pull_request, workflow_dispatch] +permissions: + contents: read + +jobs: + test: + name: Test + runs-on: ubuntu-latest + timeout-minutes: 30 + + steps: + - uses: actions/checkout@v3 + - uses: dtolnay/rust-toolchain@1.71.1 + with: + components: [clippy, rustfmt] + - run: cargo test + - run: cargo clippy --tests -- -D warnings + - run: cargo fmt --check \ No newline at end of file