From 60dd969d6c9f5a7241d63efce0d4fc37372cf417 Mon Sep 17 00:00:00 2001 From: pyranota <92104930+pyranota@users.noreply.github.com> Date: Mon, 11 Aug 2025 20:50:16 +0200 Subject: [PATCH] chore: add rust client build check workflow (#6365) * chore: add rust client build check workflow Signed-off-by: pyranota * check for .rs files in backend Signed-off-by: pyranota --------- Signed-off-by: pyranota --- .github/workflows/rust-client-check.yml | 27 +++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/rust-client-check.yml diff --git a/.github/workflows/rust-client-check.yml b/.github/workflows/rust-client-check.yml new file mode 100644 index 0000000000..4ee5575071 --- /dev/null +++ b/.github/workflows/rust-client-check.yml @@ -0,0 +1,27 @@ +name: Rust Client Check +on: + workflow_run: + workflows: ["Change versions"] + types: + - completed + push: + paths: + - "rust-client/**" + - "backend/**/*.rs" + - "backend/windmill-api/openapi.yaml" + - "version.txt" + - "flake.nix" + - ".github/workflows/rust-client-check.yml" + +jobs: + check_rust_client: + runs-on: ubicloud-standard-8 + steps: + - uses: actions/checkout@v4 + - uses: cachix/install-nix-action@v20 + with: + extra_nix_config: | + experimental-features = nix-command flakes + - name: Check rust client builds + run: cd rust-client && nix develop ../ --command ./dev.nu --check + timeout-minutes: 16 \ No newline at end of file