Skip to content
This repository has been archived by the owner on Sep 26, 2024. It is now read-only.

Commit

Permalink
F Juster CodeQL til å bare kjøre på scheduler og utvid testsuiten
Browse files Browse the repository at this point in the history
  • Loading branch information
thorellefsennav committed Jul 5, 2024
1 parent 88d5b5a commit ed17611
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
name: "CodeQL"
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
schedule:
- cron: '0 7 * * *'
jobs:
Expand All @@ -25,13 +21,14 @@ jobs:
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
queries: security-and-quality
- name: Set up Java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 21
- name: Build
run: ./gradlew clean build
run: ./gradlew clean build -x test
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
Expand Down

0 comments on commit ed17611

Please sign in to comment.