Skip to content

Commit 030173e

Browse files
committed
Kjør tester med gradlew uten configuation-cache
1 parent 2348af1 commit 030173e

File tree

3 files changed

+11
-15
lines changed

3 files changed

+11
-15
lines changed

.github/workflows/build.yaml

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
name: Build and deploy
22

3-
on: [push]
4-
3+
on:
4+
push:
5+
branches-ignore:
6+
- 'dependabot/**'
57

68
jobs:
7-
89
build:
910
runs-on: ubuntu-latest
1011
permissions:

.github/workflows/reviewdog.yml

+3-8
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,8 @@ jobs:
77
runs-on: ubuntu-latest
88

99
steps:
10-
- name: Checkout
11-
uses: actions/checkout@master
12-
with:
13-
fetch-depth: 1
14-
- name: ktlint
15-
uses: ScaCap/action-ktlint@master
10+
- uses: actions/checkout@v4
11+
- uses: ScaCap/action-ktlint@master
1612
with:
1713
github_token: ${{ secrets.github_token }}
18-
reporter: github-check
19-
ktlint_version: 1.0.0
14+
reporter: github-check

.github/workflows/test.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
push:
55
branches-ignore:
66
- 'main'
7+
78
jobs:
89
test:
910
name: test
@@ -14,7 +15,6 @@ jobs:
1415
with:
1516
distribution: temurin
1617
java-version: 17
17-
18-
- uses: gradle/[email protected]
19-
with:
20-
arguments: --configuration-cache test
18+
- uses: gradle/actions/wrapper-validation@v3
19+
- uses: gradle/actions/setup-gradle@v3
20+
- run: ./gradlew test

0 commit comments

Comments
 (0)