兼容新版本接口(inuse_objects和inuse_space的上报处理) (#145) #277
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: actions | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
golangci-lint: | |
name: runner / golangci-lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v2 | |
- name: golangci-lint | |
uses: reviewdog/action-golangci-lint@v1 | |
with: | |
golangci_lint_flags: --timeout=10m --tests=false --skip-dirs=example | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Go | |
uses: actions/setup-go@v1 | |
with: | |
go-version: 1.14.13 | |
- name: Check out code | |
uses: actions/checkout@v1 | |
- name: holmes test | |
run: make test | |
- name: example | |
run: make example |