diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index d822ebf..0000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,21 +0,0 @@ -version: 2.0 -jobs: - build: - docker: - - image: maven:3-amazoncorretto-21 - steps: - - checkout - - restore_cache: - keys: - - v1-dependencies-{{ checksum "pom.xml" }} - - v1-dependencies- - - run: - name: "Build" - command: | - mvn -B clean package - - save_cache: - paths: - - ~/.m2 - key: v1-dependencies-{{ checksum "pom.xml" }} - - store_test_results: - path: target/surefire-reports diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..908dd4f --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,26 @@ +name: Maven Build + +on: [push] + +jobs: + build: + name: Build application + runs-on: ubuntu-latest + steps: + - name: Checkout sources + uses: actions/checkout@v3 + - name: Prepare JDK + uses: actions/setup-java@v3 + with: + java-version: 21 + distribution: temurin + cache: maven + - name: Build application + run: mvn --batch-mode clean package + - name: Publish test results + uses: dorny/test-reporter@v1 + if: success() || failure() + with: + name: JUnit test results + path: target/surefire-reports/*.xml + reporter: java-junit diff --git a/README.md b/README.md index 1c6d605..00450df 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # FimaSu (Finanzmanager Support) [![License](http://img.shields.io/:license-apache-blue.svg)](https://www.apache.org/licenses/LICENSE-2.0) -[![Build](https://img.shields.io/circleci/build/github/perdian/fimasu/master)](https://circleci.com/gh/perdian/fimasu) +[![Build](https://img.shields.io/github/actions/workflow/status/perdian/fimasu/main.yml)](https://github.com/perdian/mp3tagtiger/actions/workflows/main.yml) Quick solution to allow the generation of a QIF file ([Quicken Interchange Format](https://de.wikipedia.org/wiki/Quicken_Interchange_Format)).