Skip to content

Allow Admin to add PR to execution queue for benchmarking and profiling #2352

Allow Admin to add PR to execution queue for benchmarking and profiling

Allow Admin to add PR to execution queue for benchmarking and profiling #2352

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