File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -42,43 +42,10 @@ jobs:
4242 path : src/github.com/containerd/cgroups
4343 fetch-depth : 25
4444
45- - name : Checkout common project repo
46- uses : actions/checkout@v3
45+ - name : Project checks
46+ uses : containerd/project-checks@v1.1.0
4747 with :
48- repository : containerd/project
49- path : src/github.com/containerd/project
50-
51- #
52- # Go get dependencies
53- #
54- - name : Install dependencies
55- env :
56- GO111MODULE : off
57- run : |
58- go get -u github.com/vbatts/git-validation
59- go get -u github.com/kunalkushwaha/ltag
60-
61- #
62- # DCO / File headers
63- #
64- - name : DCO
65- env :
66- GITHUB_COMMIT_URL : ${{ github.event.pull_request.commits_url }}
67- DCO_VERBOSITY : " -q"
68- DCO_RANGE : " "
69- working-directory : src/github.com/containerd/cgroups
70- run : |
71- set -x
72- if [ -z "${GITHUB_COMMIT_URL}" ]; then
73- DCO_RANGE=$(jq -r '.after + "..HEAD"' ${GITHUB_EVENT_PATH})
74- else
75- DCO_RANGE=$(curl ${GITHUB_COMMIT_URL} | jq -r '.[0].parents[0].sha +".."+ .[-1].sha')
76- fi
77- ../project/script/validate/dco
78-
79- - name : Headers
80- run : ../project/script/validate/fileheader ../project/
81- working-directory : src/github.com/containerd/cgroups
48+ working-directory : src/github.com/containerd/cgroups
8249
8350 test :
8451 name : Test cgroups
You can’t perform that action at this time.
0 commit comments