From 3865b9b3e4e68504d95b71c92161a4a3acd3c041 Mon Sep 17 00:00:00 2001 From: ahoneybun Date: Thu, 11 Dec 2025 11:53:46 -0700 Subject: [PATCH] Add .gitea/workflows/test-ci.yml add cargo clippy test on pull requests --- .gitea/workflows/test-ci.yml | 47 ++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 .gitea/workflows/test-ci.yml diff --git a/.gitea/workflows/test-ci.yml b/.gitea/workflows/test-ci.yml new file mode 100644 index 0000000..9aa5db9 --- /dev/null +++ b/.gitea/workflows/test-ci.yml @@ -0,0 +1,47 @@ +name: build + +on: + pull_request: + +jobs: + build-amd64: + runs-on: [rust-latest, amd64-builder] + steps: + - name: System Info + run: uname -m + + - name: Setup + run: | + apt update -y + apt install -y curl gnupg + curl -fsSL https://deb.nodesource.com/setup_20.x | bash - + apt install -y nodejs + + - name: Checkout + uses: actions/checkout@v5 + + - name: Clippy + run: | + rustup component add clippy + cargo clippy + + build-arm64: + runs-on: [rust-latest, arm64-builder] + steps: + - name: System Info + run: uname -m + + - name: Setup + run: | + apt update -y + apt install -y curl gnupg + curl -fsSL https://deb.nodesource.com/setup_20.x | bash - + apt install -y nodejs + + - name: Checkout + uses: actions/checkout@v5 + + - name: Clippy + run: | + rustup component add clippy + cargo clippy