Skip to content

Merge pull request #58 from samtkit/latest-dependencies #489

Merge pull request #58 from samtkit/latest-dependencies

Merge pull request #58 from samtkit/latest-dependencies #489

name: "Security Scanning"
on:
pull_request:
branches: [main]
push:
branches: [main]
jobs:
CodeQL-Build:
runs-on: ubuntu-latest
# The CodeQL Action requires security write permission
permissions:
security-events: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: kotlin
queries: security-and-quality
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 17
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: Build
run: ./gradlew --no-daemon build -x test
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2