we do not need to lint in different OS, only one OS, cleanup warning as well

This commit is contained in:
Cody Lee 2022-12-08 20:42:11 -06:00
parent b78c778cc7
commit 1c6e3f9d7b
No known key found for this signature in database
1 changed files with 1 additions and 3 deletions

View File

@ -31,7 +31,7 @@ jobs:
strategy: strategy:
matrix: matrix:
go: [1.19] go: [1.19]
os: [ubuntu-latest, macos-latest, windows-latest] os: [ubuntu-latest]
name: lint name: lint
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
steps: steps:
@ -51,8 +51,6 @@ jobs:
# Optional: golangci-lint command line arguments. # Optional: golangci-lint command line arguments.
# args: --issues-exit-code=0 # args: --issues-exit-code=0
args: --timeout=3m args: --timeout=3m
# we have installed go already
skip-go-installation: true
# Optional: show only new issues if it's a pull request. The default value is `false`. # Optional: show only new issues if it's a pull request. The default value is `false`.
# only-new-issues: true # only-new-issues: true