diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..c918c7b --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,19 @@ +name: CI +on: + push: + branches: + - main + pull_request: + branches: + - main +jobs: + build: + name: Build + runs-on: ubuntu-latest + steps: + - name: Check out source + uses: actions/checkout@v4 + - name: Check Rust styles + run: cargo fmt --check + - name: Lint + run: cargo clippy -- -D warnings