From e2eceeb13a358b96d776c476ee6ab16650a1cb6c Mon Sep 17 00:00:00 2001 From: Joey Hines Date: Sun, 22 Mar 2026 14:43:17 -0600 Subject: [PATCH] add basic rust ci using task --- .gitea/workflows/rust.yaml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .gitea/workflows/rust.yaml diff --git a/.gitea/workflows/rust.yaml b/.gitea/workflows/rust.yaml new file mode 100644 index 0000000..feeafad --- /dev/null +++ b/.gitea/workflows/rust.yaml @@ -0,0 +1,22 @@ +name: Build and Test Formaty +on: [push, pull_request] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Install Task + uses: go-task/setup-task@v1 + - uses: actions/checkout@v2 + - name: Stable with rustfmt and clippy + uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: stable + components: rustfmt, clippy + - name: Lint Code + run: task check + - name: Build + run: task build + - name: Run Unit Tests + run: task test