You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- name: Golangci Lint
-
- on:
- push:
- branches: [main]
- pull_request:
- env:
- GOPROXY: "https://proxy.golang.org"
-
- jobs:
- lint:
- name: Lint
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v2
- - name: Init Go modules
- run: go mod init github.com/guanguans/id-validator
- - name: Run golangci-lint
- uses: actions-contrib/golangci-lint@v1
|