We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0623f39 commit 8229a57Copy full SHA for 8229a57
.github/workflows/lint.yaml
@@ -0,0 +1,29 @@
1
+name: Linters
2
+
3
+on: [push, pull_request]
4
5
+jobs:
6
+ lint:
7
+ runs-on: ubuntu-latest
8
9
+ steps:
10
+ - name: Checkout code
11
+ uses: actions/checkout@v4
12
13
+ - name: Set up Python
14
+ uses: actions/setup-python@v5
15
+ with:
16
+ python-version: "3.10"
17
18
+ - name: Install dependencies
19
+ run: |
20
+ python -m pip install --upgrade pip
21
+ pip install pylint
22
+ wget https://github.com/bazelbuild/buildtools/releases/download/v8.5.1/buildifier-linux-amd64 -O /usr/local/bin/buildifier
23
+ chmod +x /usr/local/bin/buildifier
24
25
+ - name: Analyzing the code with Buildifier
26
27
+ buildifier -diff_command=diff -d -r .
28
29
+ # TODO: Add more linters here
0 commit comments