File tree Expand file tree Collapse file tree 1 file changed +19
-2
lines changed
Expand file tree Collapse file tree 1 file changed +19
-2
lines changed Original file line number Diff line number Diff line change 8080 --gcov-ignore-parse-errors negative_hits.warn \
8181 --gcov-ignore-parse-errors suspicious_hits.warn
8282
83- lint :
84- runs-on : ubuntu-24.04-32core
83+ lint-code :
84+ runs-on : ubuntu-latest
8585 strategy :
8686 matrix :
8787 python-version : [ "3.10" ]
@@ -108,3 +108,20 @@ jobs:
108108 sudo apt-get update && sudo apt-get install -y clang-format
109109 clang-format --version
110110 find src -name '*.cpp' -o -name '*.h' | xargs clang-format --dry-run --Werror
111+
112+ lint-license :
113+ runs-on : ubuntu-latest
114+ steps :
115+ - name : ' Checkout Code'
116+ uses : ' actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8' # ratchet:actions/checkout@v5
117+
118+ - name : ' Set up Go'
119+ uses : ' actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5' # ratchet:actions/setup-go@v5
120+ with :
121+ go-version : ' 1.24'
122+ cache : true
123+
124+ - name : ' Validate License Headers'
125+ shell : ' bash'
126+ run : |
127+ go run github.com/google/addlicense@v1.1.1 -check -s=only .
You can’t perform that action at this time.
0 commit comments