mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 17:08:53 +00:00
fix lint workflow (#4935)
* use go version 1.17 in golanci-lint workflow
This commit is contained in:
parent
6fe78fe302
commit
74555e4bf4
2 changed files with 5 additions and 1 deletions
5
.github/workflows/golangci-lint.yml
vendored
5
.github/workflows/golangci-lint.yml
vendored
|
|
@ -23,8 +23,11 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@629c2de402a417ea7690ca6ce3f33229e27606a5 # v2
|
||||
- uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: '1.17'
|
||||
- name: golangci-lint
|
||||
uses: golangci/golangci-lint-action@5c56cd6c9dc07901af25baab6f2b0d9f3b7c3018 # v2
|
||||
uses: golangci/golangci-lint-action@v3
|
||||
with:
|
||||
# Required: the version of golangci-lint is required and must be
|
||||
# specified without patch version: we always use the latest patch
|
||||
|
|
|
|||
|
|
@ -38,6 +38,7 @@ func initFatal(err error, message string) {
|
|||
}
|
||||
|
||||
func createRootCmd() *cobra.Command {
|
||||
|
||||
// rootCmd represents the base command when called without any subcommands
|
||||
rootCmd := &cobra.Command{
|
||||
Use: "fleet",
|
||||
|
|
|
|||
Loading…
Reference in a new issue