File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,17 +3,19 @@ name: Code Quality Assurance
33on : [ push, pull_request ]
44
55jobs :
6- lint :
7- name : Lint
6+ lint-python :
7+ name : Lint Python code
88 runs-on : ubuntu-latest
99 if : github.triggering_actor != 'github-actions[bot]'
10+ permissions :
11+ contents : read
1012 strategy :
1113 matrix :
1214 python-version : [ "3.8", "3.10" ]
1315 steps :
14- - uses : actions/checkout@v2
16+ - uses : actions/checkout@v4
1517 - name : Set up Python ${{ matrix.python-version }}
16- uses : actions/setup-python@v2
18+ uses : actions/setup-python@v5
1719 with :
1820 python-version : ${{ matrix.python-version }}
1921 - name : Install dependencies
2224 pip install "tox<4.0.0"
2325 - name : Check code quality with flake8
2426 run : tox -e flake8
27+ lint-js :
28+ name : Lint Javascript code
29+ runs-on : ubuntu-latest
30+ if : github.triggering_actor != 'github-actions[bot]'
31+ permissions :
32+ contents : read
33+ steps :
34+ - uses : actions/checkout@v4
35+ - name : Setup Biome
36+ uses : biomejs/setup-biome@v2
37+ with :
38+ version : latest
39+ - name : Run Biome
40+ run : biome ci assets/
You can’t perform that action at this time.
0 commit comments