diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 29ff885..947daaf 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -10,6 +10,23 @@ on: branches: [main] jobs: + test: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Setup Rust toolchain + uses: dtolnay/rust-toolchain@stable + with: + toolchain: stable + + - name: Setup Rust cache + uses: Swatinem/rust-cache@v2 + + - name: Test + run: cargo test + clippy: runs-on: ubuntu-latest steps: @@ -44,4 +61,4 @@ jobs: uses: Swatinem/rust-cache@v2 - name: Rustfmt - run: cargo fmt --all -- --check \ No newline at end of file + run: cargo fmt --all -- --check