Skip to content

Commit aaa5e57

Browse files
committed
ci: Add Ruff linter as GitHub Action.
Executes Ruff as linter tool to check code pattern. Signed-off-by: Paulo Vital <paulo.vital@ibm.com> Signed-off-by: Cagri Yonca <cagri@ibm.com>
1 parent 2c5cb95 commit aaa5e57

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

.github/workflows/linter.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Ruff
2+
on: [ push, pull_request ]
3+
jobs:
4+
ruff:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- uses: actions/checkout@v4
8+
- uses: astral-sh/ruff-action@v3
9+
with:
10+
args: check --output-format=github
11+
src: >-
12+
./src
13+
./tests
14+
./tests_autowrapt
15+
./tests_aws

0 commit comments

Comments
 (0)