Skip to content

Commit 9db4507

Browse files
committed
Update build.yaml
1 parent eb32554 commit 9db4507

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

.github/workflows/build.yaml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,27 +6,18 @@ on:
66
pull_request:
77

88
jobs:
9-
lint:
10-
name: golangci-lint
9+
golangci-lint:
1110
runs-on: ubuntu-latest
1211
steps:
1312
- name: Checkout code
1413
uses: actions/checkout@v2
1514
- name: Run golangci-lint
16-
uses: golangci/golangci-lint-action@v2.2.0
15+
uses: golangci/golangci-lint-action@v2.4.0
1716
with:
1817
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
1918
version: v1.31
2019
args: --timeout 5m
2120

22-
# Optional: working directory, useful for monorepos
23-
# working-directory: somedir
24-
25-
# Optional: golangci-lint command line arguments.
26-
# args: --issues-exit-code=0
27-
28-
# Optional: show only new issues if it's a pull request. The default value is `false`.
29-
# only-new-issues: true
3021
build:
3122
name: Build
3223
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)