Skip to content

Update: add bcs-lint.yml #1

Update: add bcs-lint.yml

Update: add bcs-lint.yml #1

Workflow file for this run

name: bcs-webconsole
on: [push, pull_request]
jobs:
lint:
name: lint
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
- name: setup go
uses: actions/setup-go@v3
with:
go-version-file: bcs-services/bcs-webconsole/go.mod
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.54.2
args: --timeout=30m --issues-exit-code=0
working-directory: bcs-services/bcs-webconsole
- name: go mod tidy check
uses: katexochen/go-tidy-check@v2