From 81f2f5ba5c1f5bdd2f6f2391745ed0c01725f179 Mon Sep 17 00:00:00 2001 From: Grzegorz Piwowarek Date: Sun, 15 Dec 2024 20:45:48 +0100 Subject: [PATCH] GitHub Actions-based CI --- .github/CODEOWNERS | 1 + .github/dependabot.yml | 12 ++++++++++-- .github/workflows/build.yml | 32 ++++++++++++++++++++++++++++++++ .travis/maven-settings.xml | 21 --------------------- README.md | 5 +---- pom.xml | 9 +++++++-- 6 files changed, 51 insertions(+), 29 deletions(-) create mode 100644 .github/CODEOWNERS create mode 100644 .github/workflows/build.yml delete mode 100644 .travis/maven-settings.xml diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..5cf1795 --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1 @@ +* @pivovarit diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 04ceb6e..73a9e40 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,6 +1,14 @@ version: 2 updates: - - package-ecosystem: "maven" + - package-ecosystem: "gradle" + target-branch: "main" directory: "/" schedule: - interval: "weekly" + interval: "daily" + time: "02:00" + - package-ecosystem: "github-actions" + directory: "/" + target-branch: "main" + schedule: + interval: "daily" + time: "02:00" diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..c6cec39 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,32 @@ +name: build +on: + push: + branches: + - master + - version/** + pull_request: + branches: + - master + - version/** + +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + java: [ '8', '11', '17', '21', '22', '23', '24-ea' ] + architecture: [ 'x64' ] + fail-fast: false + name: Build with JDK ${{ matrix.java }} on ${{ matrix.architecture }} + steps: + - uses: actions/checkout@v4 + - name: Setup JDK + uses: actions/setup-java@v4 + with: + distribution: 'temurin' + java-version: ${{ matrix.java }} + architecture: ${{ matrix.architecture }} + cache: 'maven' + + - name: Build with Maven + run: mvn test diff --git a/.travis/maven-settings.xml b/.travis/maven-settings.xml deleted file mode 100644 index 686c0ca..0000000 --- a/.travis/maven-settings.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - - - sonatype-nexus-snapshots - ${env.SONATYPE_USER} - ${env.SONATYPE_PASS} - - - - - - - diff --git a/README.md b/README.md index d0d4e09..485a72d 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,3 @@ [![Maven Central](https://maven-badges.herokuapp.com/maven-central/io.vavr/vavr-test/badge.png)](https://maven-badges.herokuapp.com/maven-central/io.vavr/vavr-test) -[![Build Status](https://travis-ci.org/vavr-io/vavr-test.png)](https://travis-ci.org/vavr-io/vavr-test) -[![codecov](https://codecov.io/gh/vavr-io/vavr-test/branch/master/graph/badge.svg)](https://codecov.io/gh/vavr-io/vavr-test) -[![Gitter Chat](https://badges.gitter.im/Join%20Chat.png)](https://gitter.im/vavr-io/vavr) -# [Vavr](http://vavr.io/) Property Testing +# [Vavr](https://vavr.io/) Property Testing diff --git a/pom.xml b/pom.xml index 36fbdf5..719b03b 100644 --- a/pom.xml +++ b/pom.xml @@ -26,11 +26,11 @@ We use these goals frequently to keep the dependencies and plugins up-to-date: jar Vavr Test A property check framework for Vavr. - http://vavr.io + https://vavr.io The Apache Software License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0.txt + https://www.apache.org/licenses/LICENSE-2.0.txt repo @@ -46,6 +46,11 @@ We use these goals frequently to keep the dependencies and plugins up-to-date: Daniel Dietrich cafebab3@gmail.com + + pivovarit + Grzegorz Piwowarek + gpiwowarek@gmail.com + UTF-8