diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..a8f1fd9 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,21 @@ +name: Build + +on: [push, pull_request] + +jobs: + build: + runs-on: ubuntu-latest + name: Build & Test + steps: + - uses: actions/checkout@v3 + - name: Set up JDK 21 + uses: actions/setup-java@v3 + with: + java-version: 21 + distribution: temurin + server-id: github # Value of the distributionManagement/repository/id field of the pom.xml + settings-path: ${{ github.workspace }} # location for the settings.xml file + - name: Build with Maven + run: mvn clean package -B + - name: Upload coverage reports to Codecov with GitHub Action + uses: codecov/codecov-action@v3 \ No newline at end of file diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index ab69096..0000000 --- a/.travis.yml +++ /dev/null @@ -1,8 +0,0 @@ -language: java - -jdk: - - openjdk11 - - openjdk14 -script: "mvn verify -B" -after_success: - - bash <(curl -s https://codecov.io/bash)