diff --git a/.gitea/workflow/ci.yaml b/.gitea/workflow/ci.yaml new file mode 100644 index 0000000..ce6078e --- /dev/null +++ b/.gitea/workflow/ci.yaml @@ -0,0 +1,19 @@ +name: CI +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Install Rust + run: | + curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal + echo "$HOME/.cargo/bin" >> $GITHUB_PATH + + - name: Build + run: cargo build --verbose + + - name: Test + run: cargo test --verbose