diff --git a/.github/workflows/golang-ci.yml b/.github/workflows/golang-ci.yml index f3d3ba3..74d44bb 100644 --- a/.github/workflows/golang-ci.yml +++ b/.github/workflows/golang-ci.yml @@ -4,29 +4,20 @@ on: tags: - v* branches: - - master - main pull_request: jobs: golangci: strategy: matrix: - go-version: [1.14.x, 1.15.x] + go-version: [1.14.x, 1.15.x, 1.16.x, 1.17.x, 1.18.x, 1.19.x, 1.20.x, 1.21.x] os: [macos-latest, windows-latest] name: lint runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: golangci-lint - uses: golangci/golangci-lint-action@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 version. - version: v1.29 - # Optional: working directory, useful for monorepos - # working-directory: somedir - - # Optional: golangci-lint command line arguments. - # args: --issues-exit-code=0 - - # Optional: show only new issues if it's a pull request. The default value is `false`. - # only-new-issues: true \ No newline at end of file + version: v1.54.1 + args: --timeout=3m \ No newline at end of file