diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml new file mode 100644 index 0000000..df953f8 --- /dev/null +++ b/.github/workflows/check.yml @@ -0,0 +1,20 @@ +name: Cargo Check + +on: + push: + branches: + - '**' + +jobs: + cargo-check: + runs-on: self-hosted + steps: + - name: Checkout repository + uses: actions/checkout@v4 + - name: Install Rust toolchain + uses: actions-rs/toolchain@v1 + with: + toolchain: stable + - name: Run cargo check + run: cargo check +