File tree 6 files changed +13
-2
lines changed
6 files changed +13
-2
lines changed Original file line number Diff line number Diff line change 57
57
runs-on : codebuild-soci-prebuild-workflow-${{ github.run_id }}-${{ github.run_attempt }}-ubuntu-7.0-small
58
58
steps :
59
59
- uses : actions/checkout@v4
60
+ - uses : actions/setup-go@v5
61
+ with :
62
+ go-version : ${{ env.GO_VERSION }}
60
63
- uses : golangci/golangci-lint-action@v6
61
64
with :
62
65
version : v${{ env.GOLANGCI_LINT_VERSION }}
67
70
runs-on : codebuild-soci-prebuild-workflow-${{ github.run_id }}-${{ github.run_attempt }}-ubuntu-7.0-small
68
71
steps :
69
72
- uses : actions/checkout@v4
73
+ - run : pip install yamllint
70
74
- run : yamllint .
71
75
72
76
shellcheck :
Original file line number Diff line number Diff line change 28
28
STATIC_BINARY_NAME : ' '
29
29
steps :
30
30
- uses : actions/checkout@v4
31
+ - uses : actions/setup-go@v5
32
+ with :
33
+ go-version : ${{ env.GO_VERSION }}
31
34
- name : Export cleaned release tag
32
35
run : |
33
36
export release_tag=${GITHUB_REF#refs/*/} # Strip down to raw tag name
Original file line number Diff line number Diff line change @@ -69,6 +69,7 @@ require (
69
69
github.com/imdario/mergo v0.3.13 // indirect
70
70
github.com/josharian/intern v1.0.0 // indirect
71
71
github.com/json-iterator/go v1.1.12 // indirect
72
+ github.com/kunalkushwaha/ltag v0.2.5 // indirect
72
73
github.com/mailru/easyjson v0.7.6 // indirect
73
74
github.com/moby/locker v1.0.1 // indirect
74
75
github.com/moby/sys/sequential v0.5.0 // indirect
Original file line number Diff line number Diff line change @@ -153,6 +153,8 @@ github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
153
153
github.com/kr/text v0.1.0 /go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI =
154
154
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY =
155
155
github.com/kr/text v0.2.0 /go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE =
156
+ github.com/kunalkushwaha/ltag v0.2.5 h1:kW2/mVXqIUG5NvkZQCTeGKMDjBJ/BGVEgrdfHyA3fnI =
157
+ github.com/kunalkushwaha/ltag v0.2.5 /go.mod h1:w1hVMWOh870f+WAv/UIoZAy0bHCbPP4+W6JxNcPUiQA =
156
158
github.com/kylelemons/godebug v0.0.0-20170820004349-d65d576e9348 h1:MtvEpTB6LX3vkb4ax0b5D2DHbNAUsen0Gx5wZoq3lV4 =
157
159
github.com/kylelemons/godebug v0.0.0-20170820004349-d65d576e9348 /go.mod h1:B69LEHPfb2qLo0BaaOLcbitczOKLWTsrBG9LczfCD4k =
158
160
github.com/mailru/easyjson v0.0.0-20190614124828-94de47d64c63 /go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc =
Original file line number Diff line number Diff line change @@ -18,4 +18,4 @@ set -eux -o pipefail
18
18
19
19
# the very first auto-commit doesn't have a DCO and the first real commit has a slightly different format. Exclude those when doing the check.
20
20
# We erreneously allowed a non-signed commit to be pushed to main.
21
- " $( go env GOPATH ) " /bin/ git-validation -run DCO -range HEAD~20..HEAD
21
+ git-validation -run DCO -range HEAD~20..HEAD
Original file line number Diff line number Diff line change @@ -19,7 +19,8 @@ set -eux -o pipefail
19
19
CUR_DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd ) "
20
20
SOCI_SNAPSHOTTER_PROJECT_ROOT=" ${CUR_DIR} /.."
21
21
22
+
22
23
# check ltag
23
24
pushd " ${SOCI_SNAPSHOTTER_PROJECT_ROOT} "
24
- " $( go env GOPATH ) " /bin/ ltag -t " ${SOCI_SNAPSHOTTER_PROJECT_ROOT} /.headers" -check -v || (echo " The files listed above are missing a licence header. Please run ./scripts/add-ltag.sh" ; exit 1)
25
+ ltag -t " ${SOCI_SNAPSHOTTER_PROJECT_ROOT} /.headers" -check -v || (echo " The files listed above are missing a licence header. Please run ./scripts/add-ltag.sh" ; exit 1)
25
26
popd
You can’t perform that action at this time.
0 commit comments