您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 

20 行
374 B

  1. name: Golangci Lint
  2. on:
  3. push:
  4. branches: [main]
  5. pull_request:
  6. env:
  7. GOPROXY: "https://proxy.golang.org"
  8. jobs:
  9. lint:
  10. name: Lint
  11. runs-on: ubuntu-latest
  12. steps:
  13. - uses: actions/checkout@v2
  14. # - name: Init Go modules
  15. # run: go mod init guanguans/id-validator
  16. - name: Run golangci-lint
  17. uses: actions-contrib/golangci-lint@v1