From 5eb62fb5bf37a119c0859b3124015f7e78bd23e2 Mon Sep 17 00:00:00 2001 From: Michael Lieshoff Date: Tue, 12 Dec 2023 08:11:17 +0100 Subject: [PATCH] Remove qodana (#54) * Sadly remove Qodana * Fix version number --------- Co-authored-by: Michael Lieshoff --- .github/workflows/code_coverage.yml | 40 ----------------------- .github/workflows/code_coverage_pr.yml | 45 -------------------------- .github/workflows/code_quality.yml | 25 -------------- CHANGELOG.md | 11 ++++++- README.md | 7 ++-- VERSION.txt | 2 +- pom.xml | 9 +----- qodana.yaml | 6 ---- 8 files changed, 15 insertions(+), 130 deletions(-) delete mode 100644 .github/workflows/code_coverage.yml delete mode 100644 .github/workflows/code_coverage_pr.yml delete mode 100644 .github/workflows/code_quality.yml delete mode 100644 qodana.yaml diff --git a/.github/workflows/code_coverage.yml b/.github/workflows/code_coverage.yml deleted file mode 100644 index f64bef7..0000000 --- a/.github/workflows/code_coverage.yml +++ /dev/null @@ -1,40 +0,0 @@ -name: Code Coverage Overall - -on: - schedule: - - cron: "1 0 * * *" - -jobs: - build: - - runs-on: ubuntu-latest - - steps: - - name: Checkout Code - uses: actions/checkout@v3 - with: - ref: master - - - name: Set up JDK - uses: actions/setup-java@v3 - with: - distribution: zulu - java-version: 17 - cache: maven - - - name: Start E2E tests - run: mvn test - - - name: Archive coverage data - uses: actions/upload-artifact@v2 - with: - name: maven-coverage-data-jacoco - path: .qodana/code-coverage - - - name: Qodana Scan - uses: JetBrains/qodana-action@main - env: - QODANA_TOKEN: ${{ secrets.QODANA_CLOUD }} - with: - args: "--linter,jetbrains/qodana-jvm:2023.2-eap" - pr-mode: false \ No newline at end of file diff --git a/.github/workflows/code_coverage_pr.yml b/.github/workflows/code_coverage_pr.yml deleted file mode 100644 index 12d4e9a..0000000 --- a/.github/workflows/code_coverage_pr.yml +++ /dev/null @@ -1,45 +0,0 @@ -name: Code Coverage Pull Request - -on: - workflow_dispatch: - pull_request: - push: - branches: - - master - - 'releases/*' - -jobs: - build: - - runs-on: ubuntu-latest - - steps: - - name: Checkout Code - uses: actions/checkout@v3 - with: - ref: ${{ github.event.pull_request.head.sha }} - fetch-depth: 0 - - - name: Set up JDK - uses: actions/setup-java@v3 - with: - distribution: zulu - java-version: 17 - cache: maven - - - name: Run Tests - run: mvn test - - - name: Archive coverage data - uses: actions/upload-artifact@v2 - with: - name: maven-coverage-data-jacoco - path: .qodana/code-coverage - - - name: Qodana Scan - uses: JetBrains/qodana-action@main - env: - QODANA_TOKEN: ${{ secrets.QODANA_CLOUD }} - with: - args: "--linter,jetbrains/qodana-jvm:2023.2-eap" - pr-mode: true \ No newline at end of file diff --git a/.github/workflows/code_quality.yml b/.github/workflows/code_quality.yml deleted file mode 100644 index ae1bad9..0000000 --- a/.github/workflows/code_quality.yml +++ /dev/null @@ -1,25 +0,0 @@ -name: Qodana -on: - workflow_dispatch: - pull_request: - push: - branches: - - main - - 'releases/*' - -jobs: - qodana: - runs-on: ubuntu-latest - permissions: - contents: write - pull-requests: write - checks: write - steps: - - uses: actions/checkout@v3 - with: - ref: ${{ github.event.pull_request.head.sha }} # to check out the actual pull request commit, not the merge commit - fetch-depth: 0 # a full history is required for pull request analysis - - name: 'Qodana Scan' - uses: JetBrains/qodana-action@v2023.2 - env: - QODANA_TOKEN: ${{ secrets.QODANA_CLOUD }} \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 9449f27..5f2283e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,12 @@ ## [Unreleased] +## [3.0.7] - 2023-12-12 + +### Removed + +- Qodana + ## [3.0.6] - 2023-09-28 ### Added @@ -46,7 +52,10 @@ - Create release job #41 -[unreleased]: https://github.com/mlieshoff/brawljars/compare/v3.0.6...HEAD +[unreleased]: https://github.com/mlieshoff/brawljars/compare/v3.0.7...HEAD +[3.0.7]: https://github.com/mlieshoff/brawljars/compare/v3.0.6...v3.0.7 +[3.0.6]: https://github.com/mlieshoff/brawljars/compare/v3.0.5...v3.0.6 +[3.0.5]: https://github.com/mlieshoff/brawljars/compare/v3.0.4...v3.0.5 [3.0.4]: https://github.com/mlieshoff/brawljars/compare/v3.0.3...v3.0.4 [3.0.3]: https://github.com/mlieshoff/brawljars/compare/v3.0.2...v3.0.3 [3.0.2]: https://github.com/mlieshoff/brawljars/compare/v3.0.2...v3.0.2 \ No newline at end of file diff --git a/README.md b/README.md index 50159e6..99ca45e 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,7 @@ [![](https://img.shields.io/badge/java-packagecloud.io-844fec.svg)](https://packagecloud.io/) -[![Qodana](https://github.com/mlieshoff/brawljars/actions/workflows/code_quality.yml/badge.svg)](https://github.com/mlieshoff/brawljars/actions/workflows/code_quality.yml) [![Nightlies](https://github.com/mlieshoff/brawljars/actions/workflows/nightlies.yml/badge.svg)](https://github.com/mlieshoff/brawljars/actions/workflows/nightlies.yml) -# brawljars 3.0.6 +# brawljars 3.0.7 A Java Wrapper For Official Supercell Brawl Stars Api ## Why we don't use the Swagger scheme? @@ -269,7 +268,7 @@ All requests are returning *java.concurrent.Future*. The execution will be async to Gradle: ```groovy - implementation group: 'brawljars', name: 'brawljars', version: '3.0.6' + implementation group: 'brawljars', name: 'brawljars', version: '3.0.7' ``` to Maven: @@ -277,7 +276,7 @@ to Maven: brawljars brawljars - 3.0.6 + 3.0.7 ``` diff --git a/VERSION.txt b/VERSION.txt index 149ed37..ed0a77f 100644 --- a/VERSION.txt +++ b/VERSION.txt @@ -1 +1 @@ -v3.0.6 \ No newline at end of file +v3.0.7 \ No newline at end of file diff --git a/pom.xml b/pom.xml index 06399b0..ed28859 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ 4.0.0 brawljars jar - 3.0.6 + 3.0.7 brawljars https://maven.apache.org 2020 @@ -94,13 +94,6 @@ report - - ${project.basedir}/.qodana/code-coverage/ - XML - - brawljars/** - - diff --git a/qodana.yaml b/qodana.yaml deleted file mode 100644 index 17f2a7a..0000000 --- a/qodana.yaml +++ /dev/null @@ -1,6 +0,0 @@ -version: "1.0" -linter: jetbrains/qodana-jvm-community:2023.2 -exclude: - - name: All - paths: - - src/main/java/brawljars/build \ No newline at end of file