Skip to content

Commit

Permalink
feat(ci): add codeql
Browse files Browse the repository at this point in the history
  • Loading branch information
RealHeart authored Aug 13, 2024
1 parent c578c5b commit 8b717d4
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,19 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: github/codeql-action/init@v3
with:
languages: java-kotlin
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '17'
cache: 'gradle'
- name: Build with Gradle
run: ./gradlew clean build
- uses: github/codeql-action/analyze@v3
with:
category: /language:java-kotlin
- uses: actions/upload-artifact@v4
with:
name: 'zmusic-bukkit'
Expand All @@ -41,4 +47,4 @@ jobs:
- uses: actions/upload-artifact@v4
with:
name: 'zmusic-velocity'
path: zmusic-velocity/build/libs/*.jar
path: zmusic-velocity/build/libs/*.jar

0 comments on commit 8b717d4

Please sign in to comment.