Lint by GolangCI LInt #393
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 by GolangCI LInt | |
on: | |
pull_request: | |
schedule: | |
- cron: | | |
0 0 * * * | |
push: | |
tags: | |
- v* | |
branches: | |
- main | |
jobs: | |
golangci: | |
name: GolongCI Lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: stable | |
- uses: golangci/golangci-lint-action@v6 | |
with: | |
version: latest |