Skip to content

No linting in circleci #1

No linting in circleci

No linting in circleci #1

Workflow file for this run

name: Go lint

Check failure on line 1 in .github/workflows/lint.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/lint.yml

Invalid workflow file

No steps defined in `steps` and no workflow called in `uses` for the following jobs: pylint
on:
pull_request:
push:
branches: [main]
jobs:
golint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
# Setup nodejs and build the webui so that go vet can
# compile the go code that embeds the webui.
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 21
- run: cd webui && npm install
- run: cd webui && npm run build
- uses: actions/setup-go@v4
with:
go-version: '1.20.6'
cache: false
- run: go mod tidy
- run: go install github.com/golangci/golangci-lint/cmd/[email protected]
- uses: pre-commit/[email protected]
pylint: