File tree Expand file tree Collapse file tree 9 files changed +10
-204
lines changed
Expand file tree Collapse file tree 9 files changed +10
-204
lines changed Original file line number Diff line number Diff line change 77 branches : [ main ]
88
99jobs :
10-
1110 build :
12- name : Project CI
11+ name : CI
1312 runs-on : ubuntu-22.04
1413 timeout-minutes : 5
1514 steps :
1615
17- - name : Set up Go 1.19
18- uses : actions/setup-go@v3
19- with :
20- go-version : 1.19
21- id : go
22-
23- - name : Setup Go binary path
24- shell : bash
25- run : |
26- echo "GOPATH=${{ github.workspace }}" >> $GITHUB_ENV
27- echo "${{ github.workspace }}/bin" >> $GITHUB_PATH
28-
2916 - name : Check out code
30- uses : actions/checkout@v3
17+ uses : actions/checkout@v4
3118 with :
3219 path : src/github.com/containerd/project
3320 fetch-depth : 25
3421
35- - name : Install dependencies
36- env :
37- GO111MODULE : on
38- run : |
39- go install github.com/vbatts/git-validation@latest
40- go install github.com/kunalkushwaha/ltag@latest
41-
42- - name : Check DCO/whitespace/commit message
43- env :
44- GITHUB_COMMIT_URL : ${{ github.event.pull_request.commits_url }}
45- DCO_VERBOSITY : " -q"
46- DCO_RANGE : " "
47- working-directory : src/github.com/containerd/project
48- run : |
49- if [ -z "${GITHUB_COMMIT_URL}" ]; then
50- DCO_RANGE=$(jq -r '.before +".."+ .after' ${GITHUB_EVENT_PATH})
51- else
52- DCO_RANGE=$(curl ${GITHUB_COMMIT_URL} | jq -r '.[0].parents[0].sha +".."+ .[-1].sha')
53- fi
54- script/validate/dco
55-
56- - name : Check file headers
57- run : script/validate/fileheader
58- working-directory : src/github.com/containerd/project
22+ -
uses :
containerd/[email protected] 23+ with :
24+ working-directory : src/github.com/containerd/project
Original file line number Diff line number Diff line change 1+ module github.com/containerd/project
2+
3+ go 1.23.1
4+
5+ // required for project-checks action
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments