Skip to content

Commit

Permalink
GitHub Actions build
Browse files Browse the repository at this point in the history
  • Loading branch information
pivovarit committed Jul 24, 2024
1 parent eac39c5 commit f4e485d
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
29 changes: 29 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: build and test
on:
push:

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java: [ '8', '11', '17', '21', '22' ]
architecture: [ 'x64' ]
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: 'gradle'

- uses: gradle/actions/setup-gradle@v3

- name: Build
run: ./gradlew check --info --warning-mode all

- name: Codecov
uses: codecov/codecov-action@v3
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 f4e485d

Please sign in to comment.