Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 30 additions & 9 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,32 @@
version: 2
updates:
- package-ecosystem: gradle
directory: "/"
schedule:
interval: daily
open-pull-requests-limit: 2
ignore:
- dependency-name: com.squareup.okhttp3:mockwebserver
versions:
- 4.9.0
- package-ecosystem: gradle
directory: "/"
schedule:
interval: weekly
open-pull-requests-limit: 5
groups:
gradle-minor-patch:
patterns:
- "*"
update-types:
- minor
- patch
gradle-major:
patterns:
- "*"
update-types:
- major
gradle-security:
applies-to: security-updates
patterns:
- "*"

- package-ecosystem: github-actions
directory: "/"
schedule:
interval: weekly
groups:
github-actions:
patterns:
- "*"
52 changes: 52 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: CI

on:
push:
branches: [ master, next ]
pull_request:

permissions:
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
test:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
# 27 is the newest non-LTS JDK: a forward-compatibility check that does not block merging
continue-on-error: ${{ matrix.java == 27 }}
strategy:
fail-fast: false
matrix:
java: [ 25, 27 ]
steps:
- uses: actions/checkout@v7
- uses: actions/setup-java@v6
with:
distribution: temurin
java-version: ${{ matrix.java }}
- uses: gradle/actions/setup-gradle@v6
with:
cache-provider: basic
- run: ./gradlew build
- if: matrix.java == 25
uses: codecov/codecov-action@v7
with:
use_oidc: true
files: build/reports/jacoco/test/jacocoTestReport.xml
- if: matrix.java == 25
name: Build as JitPack does for a tag
run: ./gradlew clean -Pgroup=com.github.Visual-Regression-Tracker -Pversion=ci -xtest assemble publishToMavenLocal

# the required check on master: one name for the whole matrix
build:
needs: test
if: ${{ !cancelled() }}
runs-on: ubuntu-latest
steps:
- run: test "${{ needs.test.result }}" = success
2 changes: 1 addition & 1 deletion .github/workflows/dependency-submission.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- uses: actions/setup-java@v6
with:
distribution: temurin
java-version: 11
java-version: 25
- uses: gradle/actions/dependency-submission@v6
with:
cache-provider: basic
33 changes: 0 additions & 33 deletions .github/workflows/gradle.yml

This file was deleted.

Loading
Loading