Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/actions/common-steps/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ runs:
using: composite
steps:
- name: ⚙️ Setup Java ☕
uses: actions/setup-java@v3.13.0
uses: actions/setup-java@v5.1.0
with:
distribution: temurin
java-version: 17
- name: ⚙️ Setup Gradle 🐘
uses: gradle/gradle-build-action@v2.9.0
uses: gradle/gradle-build-action@v3.5.0
with:
dependency-graph: generate-and-submit
52 changes: 26 additions & 26 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
fetch-depth: 0
- name: ⚙️ Common Steps for all jobs
Expand All @@ -41,27 +41,27 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v1.1.0
uses: gradle/wrapper-validation-action@v3.5.0
compile:
name: 🛠️ Assembling
needs: start-steps
runs-on: ubuntu-latest
if: github.event_name == 'pull_request'
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
fetch-depth: 0
- name: ⚙️ Common Steps for all jobs
uses: ./.github/actions/common-steps
- name: 🛠️Assemble Application
run: ./gradlew assembleDebug --no-daemon --scan --stacktrace
- name: 🟢⬆️ Upload compose reports artifact
uses: actions/upload-artifact@v3.1.3
uses: actions/upload-artifact@v6.0.0
if: always()
with:
name: compose-reports
Expand All @@ -70,13 +70,13 @@ jobs:
**/build/compose-reports
retention-days: 7
- name: 🟢⬆️Upload Android APK
uses: rnkdsh/[email protected].3
uses: rnkdsh/[email protected].12
id: diawi_android
with:
token: ${{ secrets.DIAWI_TOKEN }}
file: ./apps/androidApp/build/outputs/apk/debug/androidApp-debug.apk
- name: 🟢 Post comment with Diawi link
uses: peter-evans/create-or-update-comment@v3.1.0
uses: peter-evans/create-or-update-comment@v5.0.0
with:
issue-number: ${{ github.event.pull_request.number }}
body: |
Expand Down Expand Up @@ -106,7 +106,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: echo "BOT_TOKEN=${GITHUB_TOKEN}" >> $GITHUB_ENV
- name: 🔄 Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
fetch-depth: 0
token: ${{ env.BOT_TOKEN }}
Expand All @@ -118,14 +118,14 @@ jobs:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: 🟢 Upload tests reports artifact (success ✅)
uses: actions/upload-artifact@v3.1.3
uses: actions/upload-artifact@v6.0.0
if: success()
with:
name: tests-reports
path: build/reports/allTests
retention-days: 7
- name: 🔴 Upload tests reports artifact (failure ❌)
uses: actions/upload-artifact@v3.1.3
uses: actions/upload-artifact@v6.0.0
if: failure()
with:
name: tests-reports
Expand All @@ -134,20 +134,20 @@ jobs:
**/build/reports/tests/testDebugUnitTest
retention-days: 7
- name: 🟢 Upload coverage reports artifact
uses: actions/upload-artifact@v3.1.3
uses: actions/upload-artifact@v6.0.0
with:
name: coverage-reports
path: '**/build/reports/kover/report.xml'
retention-days: 1
- name: 🟢 ➡️ 🧪 Upload report to Codecov
uses: codecov/codecov-action@v3.1.4
uses: codecov/codecov-action@v5.5.2
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: build/reports/kover/report.xml
flags: unittests
verbose: true
- name: 🟡 Post comment with build scan URL as PR comment
uses: peter-evans/create-or-update-comment@v3.1.0
uses: peter-evans/create-or-update-comment@v5.0.0
if: github.event_name == 'pull_request' && failure()
with:
issue-number: ${{ format('PR-{0}', github.event.pull_request.number) }}
Expand All @@ -160,7 +160,7 @@ jobs:
confused
eyes
- name: 📑📚 Upload documentation results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v6
with:
name: documentation
path: build/documentation
Expand All @@ -171,7 +171,7 @@ jobs:
needs: start-steps
steps:
- name: 🔄 Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
fetch-depth: 0

Expand All @@ -181,22 +181,22 @@ jobs:
- name: 🛡️Check OWASP
run: ./gradlew dependencyCheckAnalyze --no-daemon --stacktrace
- name: ️🛡️⬆️ Upload owasp-report results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v6
with:
name: owasp-reports
path: build/reports/owasp
- name: Run detekt
run: ./gradlew detektAll lintDebug --no-daemon --stacktrace
- name: Upload static reports artifact
uses: actions/upload-artifact@v3.1.3
uses: actions/upload-artifact@v6.0.0
with:
name: static-report
path: |
build/reports/detekt/detekt.xml
**/build/reports/lint-results-debug.xml
retention-days: 1
- name: Analyze detekt report
uses: github/codeql-action/upload-sarif@v2.22.7
uses: github/codeql-action/upload-sarif@v4.31.9
with:
sarif_file: build/reports/detekt/detekt.sarif
checkout_path: ${{ github.workspace }}
Expand All @@ -208,7 +208,7 @@ jobs:

steps:
- name: 🔄 Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
fetch-depth: 0

Expand All @@ -218,7 +218,7 @@ jobs:
- name: 🏗️ 📦 Build package
run: ./gradlew assemble --scan -x test -x integrationTest
- name: 🟢 Setup Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v6
with:
node-version: 'lts/*'
- name: 🧩 Add plugin for conventional commits
Expand All @@ -239,7 +239,7 @@ jobs:

steps:
- name: 🔄 Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: ⚙️ Common Steps for all jobs
uses: ./.github/actions/common-steps
Expand All @@ -257,7 +257,7 @@ jobs:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: 🏗️ Build and push
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
context: ./apps/app/build/docker/
file: ./apps/app/build/docker/Dockerfile
Expand All @@ -273,18 +273,18 @@ jobs:

steps:
- name: 🔄 Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
fetch-depth: 0
- name: ⚙️ Common Steps for all jobs
uses: ./.github/actions/common-steps
- name: ⬇️ 📜 Download documentation reports
uses: actions/download-artifact@v3
uses: actions/download-artifact@v7
with:
name: documentation
path: build/documentation
- name: ⬇️ 🛡️ Download owasp reports
uses: actions/download-artifact@v3
uses: actions/download-artifact@v7
with:
name: owasp-reports
path: build/reports/owasp
Expand All @@ -293,7 +293,7 @@ jobs:
env:
revnumber: ${{ needs.release.outputs.revnumber }}
- name: 🟢 📚 Publish documentation
uses: JamesIves/github-pages-deploy-action@v4.4.3
uses: JamesIves/github-pages-deploy-action@v4.7.6
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/link-checking.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,32 +10,32 @@ jobs:
linkChecker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v6

- name: Restore lychee cache
uses: actions/cache@v3
uses: actions/cache@v5
with:
path: .lycheecache
key: cache-lychee-${{ github.sha }}
restore-keys: cache-lychee-

- name: Link Checker
id: lychee
uses: lycheeverse/lychee-action@v1.8.0
uses: lycheeverse/lychee-action@v2.7.0
with:
args: "--cache --max-cache-age 1d ."
fail: true

- name: Create Issue From File
if: env.lychee_exit_code != 0
uses: peter-evans/create-issue-from-file@v4
uses: peter-evans/create-issue-from-file@v6
with:
title: Link Checker Report
content-filepath: ./lychee/out.md
labels: report, automated issue

- name: Save lychee cache
uses: actions/cache/save@v3
uses: actions/cache/save@v5
if: always()
with:
path: .lycheecache
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-size-labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@ jobs:
pull-requests: write

steps:
- uses: actions/labeler@v4
- uses: actions/labeler@v6
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
4 changes: 2 additions & 2 deletions apps/backend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM gradle:7-jdk17 AS build
FROM gradle:9-jdk17 AS build
COPY --chown=gradle:gradle . /home/gradle/src
WORKDIR /home/gradle/src
RUN gradle shadowJar --no-daemon

FROM eclipse-temurin:17.0.9_9-jre-ubi9-minimal
FROM eclipse-temurin:21.0.9_10-jre-ubi9-minimal
EXPOSE 8080:8080
RUN mkdir /app
COPY --from=build /home/gradle/src/build/libs/*.jar /app/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ plugins {
}

detekt {
toolVersion = "1.23.3"
toolVersion = "1.23.8"
parallel = true
ignoreFailures = false
autoCorrect = true
Expand Down
Loading
Loading