change to badRequestErrors #4190
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
workflow_call: | |
jobs: | |
lint: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: 1.21 | |
- name: golangci-lint | |
uses: golangci/[email protected] | |
with: | |
version: v1.55 | |
args: --timeout=3m | |
installer-lint: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: installer | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.11 | |
- name: Install PyLint | |
run: pip install pylint | |
- name: Run PyLint | |
run: pylint --rcfile=.pylintrc windows/ | |
lint-frontend: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./web/massastation | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
cache: "npm" | |
cache-dependency-path: ./web/massastation/package-lock.json | |
- name: Install dependencies | |
run: npm ci | |
- name: Run code formating and linting | |
run: npm run fmt:check |