File tree 2 files changed +25
-1
lines changed
2 files changed +25
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : golangci-lint
2
+ on : # yamllint disable-line rule:truthy
3
+ push :
4
+ branches :
5
+ - main
6
+ pull_request : # yamllint disable-line rule:empty-values
7
+
8
+ permissions :
9
+ contents : read
10
+ checks : write # Used to annotate code in the PR
11
+
12
+ jobs :
13
+ golangci :
14
+ name : lint
15
+ runs-on : ubuntu-latest
16
+ steps :
17
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
18
+ - uses : actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
19
+ with :
20
+ go-version : stable
21
+ - name : golangci-lint
22
+ uses : golangci/golangci-lint-action@971e284b6050e8a5849b72094c50ab08da042db8 # v6.1.1
23
+ with :
24
+ version : v1.62.2
25
+ args : --timeout=10m
Original file line number Diff line number Diff line change @@ -31,7 +31,6 @@ source $(dirname $0)/../vendor/github.com/tektoncd/plumbing/scripts/presubmit-te
31
31
32
32
function post_build_tests() {
33
33
return_code=0
34
- golangci-lint run --deadline=5m || return_code=1
35
34
echo " Diffing against the documentation yaml"
36
35
${REPO_ROOT_DIR} /hack/update-docs.sh -d || return_code=1
37
36
return ${return_code}
You can’t perform that action at this time.
0 commit comments