Addition of the Admin UI #2275
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |