We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 48a4f4e commit 366ed97Copy full SHA for 366ed97
.github/workflows/build-pull-request.yaml
@@ -1,5 +1,4 @@
1
name: Build Pull Request
2
-
3
on:
4
pull_request:
5
paths-ignore:
@@ -8,24 +7,12 @@ on:
8
7
- '.gitignore'
9
- 'LICENSE'
10
- 'CODEOWNERS'
11
- - 'nais/**'
12
- - 'gradle/**'
13
- - 'nais/alerts/**'
14
- - '.github/workflows/deploy-alerts.yml'
15
16
jobs:
17
- Build:
18
19
- runs-on: ubuntu-latest
20
21
- steps:
22
- - uses: actions/checkout@v4
23
- - uses: actions/setup-java@v4
24
- with:
25
- java-version: 21
26
- distribution: temurin
27
- cache: gradle
28
- - name: Kjør tester & bygg JAR
29
- run: ./gradlew clean test shadowjar
30
- env:
31
- GITHUB_TOKEN: ${{ secrets.READER_TOKEN }}
+ test:
+ uses: navikt/sif-gha-workflows/.github/workflows/gradle-test.yml@main
+ permissions:
+ contents: read
+ secrets: inherit
+ with:
+ readertoken: false
0 commit comments