Skip to content

Commit 17ba258

Browse files
committed
fix merge conflict
2 parents 78c7644 + 44643c5 commit 17ba258

File tree

6 files changed

+55
-1
lines changed

6 files changed

+55
-1
lines changed

.github/workflows/build-master.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,15 @@ jobs:
2424
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle.kts') }}
2525
restore-keys: |
2626
${{ runner.os }}-gradle-
27+
28+
- name: Setup Gradle wrapper cache
29+
uses: actions/cache@v1
30+
with:
31+
path: ~/.gradle/wrapper
32+
key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }}
33+
restore-keys: |
34+
${{ runner.os }}-gradle-wrapper-
35+
2736
- name: Build with Gradle
2837
run: ./gradlew build
2938

.github/workflows/publish-release.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,22 @@ jobs:
2828
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle.kts') }}
2929
restore-keys: |
3030
${{ runner.os }}-gradle-
31+
32+
- name: Setup Gradle wrapper cache
33+
uses: actions/cache@v1
34+
with:
35+
path: ~/.gradle/wrapper
36+
key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }}
37+
restore-keys: |
38+
${{ runner.os }}-gradle-wrapper-
39+
3140
- name: Import gpg key
3241
env:
3342
GPG_KEY_BASE64: ${{ secrets.GPG_KEY_BASE64 }}
3443
GPG_KEY_NAME: ${{ secrets.GPG_KEY_NAME }}
3544
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
3645
run: echo $GPG_KEY_BASE64 | base64 --decode | gpg --yes --batch --import
46+
3747
- name: Publish artifact
3848
env:
3949
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Test pull requests
2+
3+
on: [pull_request]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: Checkout latest code
10+
uses: actions/checkout@v2
11+
12+
- name: Set up JDK 11
13+
uses: actions/setup-java@v1
14+
with:
15+
java-version: 11
16+
17+
- name: Setup build cache
18+
uses: actions/cache@v1
19+
with:
20+
path: ~/.gradle/caches
21+
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle.kts') }}
22+
restore-keys: |
23+
${{ runner.os }}-gradle-
24+
25+
- name: Setup Gradle wrapper cache
26+
uses: actions/cache@v1
27+
with:
28+
path: ~/.gradle/wrapper
29+
key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }}
30+
restore-keys: |
31+
${{ runner.os }}-gradle-wrapper-
32+
33+
- name: Build with Gradle
34+
run: ./gradlew clean build

CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @navikt/plattformsikkerhet
File renamed without changes.

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#Sun Jan 26 20:25:21 CET 2020
2-
distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-all.zip
2+
distributionUrl=https\://services.gradle.org/distributions/gradle-6.2-all.zip
33
distributionBase=GRADLE_USER_HOME
44
distributionPath=wrapper/dists
55
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)