Skip to content

test codecov-action@v4 #4115

test codecov-action@v4

test codecov-action@v4 #4115

Workflow file for this run

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