diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 0000000..1b920c6 --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,23 @@ +name: CI + +on: + push: + branches: ["main"] + pull_request: + workflow_dispatch: + +env: + CARGO_TERM_COLOR: always + +jobs: + analyze: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - run: cargo clippy --all-targets --all-features -- -D warnings + + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - run: cargo build -v