From 2bbfdc4467b18411c9412a8e373301b28064113f Mon Sep 17 00:00:00 2001 From: Gui Castelao Date: Thu, 20 Feb 2025 20:35:17 -0700 Subject: [PATCH] test: GA running ruff --- .github/workflows/linter.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/linter.yml diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml new file mode 100644 index 0000000..670f977 --- /dev/null +++ b/.github/workflows/linter.yml @@ -0,0 +1,27 @@ +name: Lint Code Base + +on: + push: + branches-ignore: + - 'gh-pages' + pull_request: + branches: [main] + +jobs: + lint: + name: Lint Code Base with Ruff + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - uses: astral-sh/ruff-action@v3 + with: + version: 0.7.4 + args: check + src: "./fied" + + # - uses: astral-sh/ruff-action@v3 + # with: + # version: 0.7.4 + # args: format --check + # src: "./fied"