diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml deleted file mode 100644 index c3f4f1f..0000000 --- a/.github/workflows/maven.yml +++ /dev/null @@ -1,26 +0,0 @@ -# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time -# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-maven - -name: Java CI with Maven - -on: - push: - branches: [ "*" ] - pull_request: - branches: [ "master", "dev" ] - -jobs: - build: - - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v3 - - name: Set up JDK 17 - uses: actions/setup-java@v3 - with: - java-version: '17' - distribution: 'temurin' - cache: maven - - name: Build with Maven - run: mvn -B package --file pom.xml diff --git a/.woodpecker/maven.yml b/.woodpecker/maven.yml new file mode 100644 index 0000000..877f1e3 --- /dev/null +++ b/.woodpecker/maven.yml @@ -0,0 +1,5 @@ +steps: + - name: test + image: maven:3.9.6-eclipse-temurin-17-alpine + commands: + - mvn -B verify