From 81acc5d272b42f8a9c4c3556e60fd7e3f2ead9bc Mon Sep 17 00:00:00 2001 From: Yilong Guo Date: Fri, 15 Nov 2024 11:58:08 +0800 Subject: [PATCH] CI: enable ruff check --- .github/workflows/ruff.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .github/workflows/ruff.yml diff --git a/.github/workflows/ruff.yml b/.github/workflows/ruff.yml new file mode 100644 index 0000000..081de56 --- /dev/null +++ b/.github/workflows/ruff.yml @@ -0,0 +1,11 @@ +name: Ruff +on: [push, pull_request] +jobs: + ruff: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: astral-sh/ruff-action@v1 + with: + src: "./service" + changed-files: "true"