Check arguments length before reading #83
Workflow file for this run
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: golangci-lint | |
'on': | |
'push': | |
'tags': | |
- 'v*' | |
'branches': | |
- '*' | |
'pull_request': | |
jobs: | |
golangci: | |
runs-on: | |
${{ matrix.os }} | |
strategy: | |
matrix: | |
os: | |
- ubuntu-latest | |
- macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: 1.x | |
cache: false | |
- name: golangci-lint | |
uses: golangci/[email protected] | |
with: | |
# This field is required. Dont set the patch version to always use | |
# the latest patch version. | |
version: v1.56.2 |