Skip to content

Commit d793cf8

Browse files
authored
Merge pull request #322 from Yubico/dependabot/gradle/info.solidsoft.gradle.pitest-gradle-pitest-plugin-1.15.0
Bump info.solidsoft.gradle.pitest:gradle-pitest-plugin from 1.9.11 to 1.15.0
2 parents 860c88a + 5d447bf commit d793cf8

File tree

3 files changed

+14
-10
lines changed

3 files changed

+14
-10
lines changed

.github/workflows/coverage.yml

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ name: Test coverage
33

44
on:
55
push:
6-
branches: [main]
6+
branches:
7+
- main
8+
- dependabot/gradle/info.solidsoft.gradle.pitest-gradle-pitest-plugin-*
79

810
jobs:
911
test:
@@ -44,13 +46,6 @@ jobs:
4446
done
4547
sed "s/{shortcommit}/${GITHUB_SHA:0:8}/g;s/{commit}/${GITHUB_SHA}/g;s#{repo}#${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}#g" .github/workflows/coverage/index.html.template > build/gh-pages/index.html
4648
47-
- name: Create coverage badge
48-
# This creates a file that defines a [Shields.io endpoint badge](https://shields.io/endpoint)
49-
# which we can then include in the project README.
50-
uses: ./.github/actions/pit-results-badge
51-
with:
52-
output-file: build/gh-pages/coverage-badge.json
53-
5449
- name: Check out GitHub Pages branch
5550
uses: actions/checkout@v4
5651
with:
@@ -68,7 +63,16 @@ jobs:
6863
prev-commit: ${{ env.PREV_COMMIT }}
6964
prev-mutations-file: prev-mutations.xml
7065

66+
- name: Create coverage badge
67+
# This creates a file that defines a [Shields.io endpoint badge](https://shields.io/endpoint)
68+
# which we can then include in the project README.
69+
uses: ./.github/actions/pit-results-badge
70+
if: github.ref_name == 'main'
71+
with:
72+
output-file: build/gh-pages/coverage-badge.json
73+
7174
- name: Push to GitHub Pages
75+
if: github.ref_name == 'main'
7276
run: |
7377
git config user.name github-actions
7478
git config user.email github-actions@github.com

buildSrc/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ repositories {
1010
}
1111

1212
dependencies {
13-
implementation("info.solidsoft.gradle.pitest:gradle-pitest-plugin:1.9.11")
13+
implementation("info.solidsoft.gradle.pitest:gradle-pitest-plugin:1.15.0")
1414
implementation("io.franzbecker:gradle-lombok:5.0.0")
1515

1616
// Spotless dropped Java 8 support in version 2.33.0

buildSrc/src/main/kotlin/project-convention-pitest.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ plugins {
44
}
55

66
pitest {
7-
pitestVersion.set("1.9.5")
7+
pitestVersion.set("1.15.0")
88
timestampedReports.set(false)
99

1010
outputFormats.set(listOf("XML", "HTML"))

0 commit comments

Comments
 (0)