Skip to content

Merge pull request #630 from vitessio/dependabot/npm_and_yarn/website… #2363

Merge pull request #630 from vitessio/dependabot/npm_and_yarn/website…

Merge pull request #630 from vitessio/dependabot/npm_and_yarn/website… #2363

Workflow file for this run

name: Golang Lint
on: [push, pull_request]
jobs:
build:
name: Lint all go files
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.23.0
- name: Install golangci-lint
run: curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b $(go env GOPATH)/bin v1.60.1
- name: Clean Env
run: $(go env GOPATH)/bin/golangci-lint cache clean
- name: Print linter version
run: $(go env GOPATH)/bin/golangci-lint --version
- name: Run golangci-lint
run: $(go env GOPATH)/bin/golangci-lint run ./go/... --timeout 5m