diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..9a6dded --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,19 @@ +on: + - push +jobs: + check: + name: Rust project + runs-on: ubuntu-22.04 + steps: + - uses: actions/checkout@v2 + - name: Install latest stable + uses: actions-rs/toolchain@v1 + with: + toolchain: stable + components: rustfmt, clippy + + - name: Run cargo check + uses: actions-rs/cargo@v1 + with: + command: check + \ No newline at end of file