Skip to content

Commit

Permalink
chore: removed TravisCI in favor of GH Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonygauthier committed Mar 11, 2024
1 parent 78f446b commit 9fb0de8
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 8 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/conventionnal-commits.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Conventional Commits

on:
pull_request:
types:
- opened
- edited
- synchronize

jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: liatrio/github-actions/conventional-pr-title@master
with:
token: ${{ secrets.GITHUB_TOKEN }}
21 changes: 21 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Continuous Testing
on: ['push']

jobs:
build:
strategy:
matrix:
java: [ '17', '21' ]
os: [ 'ubuntu-latest' ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3

- name: Set up JDKs
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: "temurin"

- name: Build project with Maven
run: mvn test --file pom.xml
8 changes: 0 additions & 8 deletions .travis.yml

This file was deleted.

0 comments on commit 9fb0de8

Please sign in to comment.