Skip to content

Commit 8b445a5

Browse files
committed
chore: add CodeQL arch lints to build checks
1 parent 74dba64 commit 8b445a5

5 files changed

Lines changed: 130 additions & 1 deletion

File tree

.github/workflows/sticker-award.yml

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,23 @@ jobs:
3838
- name: Run Integration Tests
3939
run: |
4040
cd sticker-award
41-
./mvnw verify -Dskip.unit.tests=true -DskipITs=false
41+
./mvnw verify -Dskip.unit.tests=true -DskipITs=false
42+
43+
- name: Install CodeQL CLI
44+
run: |
45+
# Download and install CodeQL CLI
46+
wget -q https://github.com/github/codeql-cli-binaries/releases/latest/download/codeql-linux64.zip
47+
unzip -q codeql-linux64.zip
48+
sudo mv codeql /opt/codeql
49+
echo "/opt/codeql" >> $GITHUB_PATH
50+
/opt/codeql/codeql version --format=text
51+
52+
- name: Create CodeQL Database
53+
run: |
54+
cd sticker-award
55+
codeql database create cql-db --language=java --source-root=.
56+
57+
- name: Validate Architecture Rules
58+
run: |
59+
cd sticker-award
60+
./scripts/validate-architecture.sh

sticker-award/build/codeql-results/cross-domain-issues.sarif

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)