File tree Expand file tree Collapse file tree 1 file changed +4
-25
lines changed Expand file tree Collapse file tree 1 file changed +4
-25
lines changed Original file line number Diff line number Diff line change @@ -32,35 +32,14 @@ jobs:
3232 path : src/github.com/containerd/console
3333 fetch-depth : 25
3434
35- - name : Checkout project
36- uses : actions/checkout@v3
37- with :
38- repository : containerd/project
39- path : src/github.com/containerd/project
40-
4135 - name : Install dependencies
4236 run : |
43- go install github.com/vbatts/git-validation@latest
44- go install github.com/kunalkushwaha/ltag@latest
4537 go install github.com/golangci/golangci-lint/cmd/[email protected] 4638
47- - name : Check DCO/whitespace/commit message
48- env :
49- GITHUB_COMMIT_URL : ${{ github.event.pull_request.commits_url }}
50- DCO_VERBOSITY : " -q"
51- DCO_RANGE : " "
52- working-directory : src/github.com/containerd/console
53- run : |
54- if [ -z "${GITHUB_COMMIT_URL}" ]; then
55- DCO_RANGE=$(jq -r '.before +".."+ .after' ${GITHUB_EVENT_PATH})
56- else
57- DCO_RANGE=$(curl ${GITHUB_COMMIT_URL} | jq -r '.[0].parents[0].sha +".."+ .[-1].sha')
58- fi
59- ../project/script/validate/dco
60-
61- - name : Check file headers
62- run : ../project/script/validate/fileheader ../project/
63- working-directory : src/github.com/containerd/console
39+ - name : Project Checks
40+ uses :
containerd/[email protected] 41+ with :
42+ working-directory : src/github.com/containerd/console
6443
6544 - name : Go Linting
6645 run : GOGC=75 golangci-lint run
You can’t perform that action at this time.
0 commit comments