Skip to content

Commit

Permalink
GitHub Actions build (#2769)
Browse files Browse the repository at this point in the history
Replace inactive TravisCI build with GitHub Actions - Maven Central
deployment will be implemented as a separate job

----
Resolves #2684
  • Loading branch information
pivovarit authored Jul 24, 2024
1 parent eac39c5 commit db4035e
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 45 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: build and test
on:
push:

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java: [ '8', '11', '17' ]
architecture: [ 'x64' ]
name: Build with JDK ${{ matrix.java }} on ${{ matrix.architecture }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
architecture: ${{ matrix.architecture }}
cache: 'gradle'
- uses: gradle/actions/setup-gradle@v3
- run: ./gradlew check --info --warning-mode all
- uses: codecov/codecov-action@v3
44 changes: 0 additions & 44 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion src/main/java/io/vavr/control/Validation.java
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ public static <E, T> Validation<Seq<E>, Seq<T>> sequence(Iterable<? extends Vali

/**
* A wrapper to {@link #all(Traversable)}.
* <p/>
* <p>
* Usage example :
*
* <pre>{@code
Expand Down

0 comments on commit db4035e

Please sign in to comment.