Skip to content

Merge pull request #207 from navikt/feature/pakkeoppdateringer #137

Merge pull request #207 from navikt/feature/pakkeoppdateringer

Merge pull request #207 from navikt/feature/pakkeoppdateringer #137

name: CodeQL
on:
push:
branches:
- main
pull_request:
branches:
- main
permissions:
actions: read
contents: read
security-events: write
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
language: [ 'kotlin' ]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
- name: Setup java
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 21
cache: 'maven'
- name: Build
run: mvn install --file pom.xml -DskipTests
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"