Skip to content

Fix Golangci-lint errors #1281

Fix Golangci-lint errors

Fix Golangci-lint errors #1281

Workflow file for this run

name: golangci-lint
on:
push:
branches: [ dev ]
pull_request:
branches: [ dev ]
permissions:
contents: read
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
strategy:
matrix: { dir: ['./...', './worker', './worker/edge'] }
steps:
- uses: actions/setup-go@v4
with:
go-version: 1.22
- uses: actions/setup-node@v4
node-version: "latest"

Check failure on line 20 in .github/workflows/golangci-lint.yml

View workflow run for this annotation

GitHub Actions / golangci-lint

Invalid workflow file

The workflow is not valid. .github/workflows/golangci-lint.yml (Line: 20, Col: 9): Unexpected value 'node-version'
- uses: actions/checkout@v3
- run: npm ci
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: latest
only-new-issues: true