feat: 实现产品文档,版本日志,功能特性 #13
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: lint | |
on: [push, pull_request] | |
jobs: | |
bcs-webconsole: | |
name: bcs-webconsole | |
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: go mod tidy check | |
uses: katexochen/go-tidy-check@v2 | |
with: | |
modules: bcs-services/bcs-webconsole | |
- 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 | |
bcs-monitor: | |
name: bcs-monitor | |
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-monitor/go.mod | |
- name: go mod tidy check | |
uses: katexochen/go-tidy-check@v2 | |
with: | |
modules: bcs-services/bcs-monitor | |
- 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-monitor | |
bcs-bscp: | |
name: bcs-bscp | |
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-bscp/go.mod | |
- name: go mod tidy check | |
uses: katexochen/go-tidy-check@v2 | |
with: | |
modules: bcs-services/bcs-bscp | |
- 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-bscp |