Skip to content

Merge pull request #53 from navikt/dependabot/gradle/no.nav.dagpenger… #112

Merge pull request #53 from navikt/dependabot/gradle/no.nav.dagpenger…

Merge pull request #53 from navikt/dependabot/gradle/no.nav.dagpenger… #112

name: "Codeql - Code Scanning"
on:
push:
branches: [ "main" ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ "main" ]
schedule:
- cron: '44 20 * * 3'
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
steps:
- uses: actions/checkout@v4
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: java
tools: latest
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17
- uses: gradle/actions/wrapper-validation@v3
- uses: gradle/actions/setup-gradle@v3
- run: ./gradlew build
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:java"