generated from SAP/repository-template
-
-
Notifications
You must be signed in to change notification settings - Fork 60
40 lines (33 loc) · 833 Bytes
/
autofix.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: autofix.ci
on:
push:
pull_request:
branches: [main]
permissions:
contents: read
jobs:
autofix:
runs-on: ubuntu-latest
continue-on-error: true
steps:
- uses: actions/checkout@v4
- run: pipx install poetry
- uses: actions/setup-python@v5
with:
python-version: 3.12
cache: poetry
- working-directory: tests/ocpp-server
run: |
poetry install --no-root
poetry run task format
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
cache: 'pnpm'
- run: pnpm install --ignore-scripts
- run: pnpm format
- working-directory: ui/web
run: |
pnpm format
pnpm lint:fix
- uses: autofix-ci/action@ff86a557419858bb967097bfc916833f5647fa8c