Skip to content

fix(helpdoc): 过滤掉 xlsx 格式的 helpdoc 的第一行,并增加表头格式校验 #558

fix(helpdoc): 过滤掉 xlsx 格式的 helpdoc 的第一行,并增加表头格式校验

fix(helpdoc): 过滤掉 xlsx 格式的 helpdoc 的第一行,并增加表头格式校验 #558

Workflow file for this run

on:
push:
paths:
- '**.go'
- 'go.mod'
pull_request:
paths:
- '**.go'
- 'go.mod'
name: Test & Lint
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Code
uses: actions/checkout@v3
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: '1.20'
- run: go get
- run: go generate ./...
- run: go test -v -race ./...
lint:
runs-on: ubuntu-latest
steps:
- name: Code
uses: actions/checkout@v3
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: '1.20'
- run: go get
- run: go generate ./...
- name: Go vet
run: go vet ./...
- name: GolangCI-Lint
uses: golangci/golangci-lint-action@v3
if: github.event.name == 'pull_request'
with:
version: 'v1.55.2'
args: '--timeout 9999s'
only-new-issues: true
skip-pkg-cache: true
skip-build-cache: true
- name: GolangCI-Lint
uses: golangci/golangci-lint-action@v3
if: github.event.name != 'pull_request'
with:
version: 'v1.55.2'
args: '--timeout 9999s'