Skip to content

Commit

Permalink
feat: using GH Actions instead of TravisCI
Browse files Browse the repository at this point in the history
feat: using GH Actions instead of TravisCI
  • Loading branch information
anthonygauthier committed Jul 29, 2023
1 parent ac162a5 commit 0523aba
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 3 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 }}
20 changes: 20 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Continuous Testing
on: ['push']

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

- name: Set up JDKs
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}

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

This file was deleted.

0 comments on commit 0523aba

Please sign in to comment.