refactor: unify the error handling methods in the crypto package that are different from the project style & use errors.New to replace fmt.Errorf with no parameters #1285
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 | |
on: | |
push: | |
branches: | |
- dev | |
pull_request: | |
merge_group: | |
jobs: | |
Lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: install go 1.21 | |
uses: actions/setup-go@v5 | |
with: | |
go-version: "1.21" | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v6 | |
with: | |
version: latest | |
args: --timeout 3m |