diff --git a/.github/workflows/conventionnal-commits.yaml b/.github/workflows/conventionnal-commits.yaml new file mode 100644 index 0000000..21445dd --- /dev/null +++ b/.github/workflows/conventionnal-commits.yaml @@ -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 }} \ No newline at end of file diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml new file mode 100644 index 0000000..d7ab6d8 --- /dev/null +++ b/.github/workflows/test.yaml @@ -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 \ No newline at end of file diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 931cc77..0000000 --- a/.travis.yml +++ /dev/null @@ -1,3 +0,0 @@ -language: java -jdk: -- oraclejdk13