diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml new file mode 100644 index 0000000..f2cb571 --- /dev/null +++ b/.gitea/workflows/build.yml @@ -0,0 +1,17 @@ +name: build +on: [push, workflow_dispatch] + +jobs: + build-test: + runs-on: docker + container: rust:1-bookworm + timeout-minutes: 30 + steps: + - name: Checkout + run: git clone --depth 1 ${{ github.server_url }}/${{ github.repository }}.git . + + - name: Build + run: cargo build --workspace + + - name: Test + run: cargo test --workspace --quiet