Skip to content
Merged
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
48 changes: 24 additions & 24 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ env:

jobs:
build:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Checkout local repository
uses: actions/checkout@v6
with:
path: ${{ github.workspace }}/${{ env.SERVICE_NAME }}
- name: Install nvm at specific version
run: |
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.4/install.sh | bash
- name: Install prettier using npm
run: sudo npm install --global prettier
- name: Install jenv
Expand All @@ -44,7 +44,7 @@ jobs:
echo "date=$(/bin/date -u "+%Y%m%d")" >> $GITHUB_OUTPUT
shell: bash
- name: Cache gradle wrapper and jars
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: |
~/.gradle/caches
Expand All @@ -54,7 +54,7 @@ jobs:
${{ runner.os }}-gradle-${{ steps.get-date.outputs.date }}-
${{ runner.os }}-gradle-
- name: Cache node modules
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ steps.get-date.outputs.date }}-${{ hashFiles('**/package-lock.json') }}
Expand All @@ -64,7 +64,7 @@ jobs:
${{ runner.os }}-
- name: Restore pitest history from cache
id: cache-pitest-history-restore
uses: actions/cache/restore@v4
uses: actions/cache/restore@v5
with:
path: ${{ github.workspace }}/${{ env.SERVICE_NAME }}/backend/pitestHistory/pitestHistory
key: pitestHistory-${{ hashFiles('**/*.gradle*', '**/*.java*') }}
Expand All @@ -76,20 +76,20 @@ jobs:
run: ./run.sh pitest
working-directory: ${{ github.workspace }}/${{ env.SERVICE_NAME }}/
- name: Upload build report to artifacts
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v7
if: always()
with:
name: ${{ env.SERVICE_NAME }}-build-reports
path: ${{ github.workspace }}/${{ env.SERVICE_NAME }}/backend/build/reports/
- name: Save pitest history
if: always() && steps.cache-pitest-history-restore.outputs.cache-hit != 'true'
uses: actions/cache/save@v4
uses: actions/cache/save@v5
with:
path: ${{ github.workspace }}/${{ env.SERVICE_NAME }}/backend/pitestHistory/pitestHistory
key: ${{ steps.cache-pitest-history-restore.outputs.cache-primary-key }}

determaine_should_publish_new_version:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
outputs:
PUBLISH_NEW_VERSION: ${{ steps.determaine_should_publish_new_version.outputs.PUBLISH_NEW_VERSION }}
steps:
Expand All @@ -105,7 +105,7 @@ jobs:
echo "PUBLISH_NEW_VERSION=${PUBLISH_NEW_VERSION}" >> $GITHUB_OUTPUT

determaine_current_tag_name:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs: [ build, determaine_should_publish_new_version ]
if: ${{ needs.determaine_should_publish_new_version.outputs.PUBLISH_NEW_VERSION == 'true' }}
outputs:
Expand All @@ -120,7 +120,7 @@ jobs:
echo "CURRENT_TAG=${CURRENT_TAG}" >> $GITHUB_OUTPUT

update_changelog:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs: [ build, determaine_should_publish_new_version, determaine_current_tag_name ]
if: ${{ needs.determaine_should_publish_new_version.outputs.PUBLISH_NEW_VERSION == 'true' }}
outputs:
Expand All @@ -136,7 +136,7 @@ jobs:
path: ${{ github.workspace }}/${{ env.SERVICE_NAME }}
- name: Install nvm at specific version
run: |
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.4/install.sh | bash
- name: Install git-cliff and prettier using npm
run: sudo npm install --global git-cliff prettier
- name: Generate changelog
Expand All @@ -158,7 +158,7 @@ jobs:
working-directory: ${{ github.workspace }}/${{ env.SERVICE_NAME }}/

docker:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs: [ build, determaine_current_tag_name, update_changelog ]
steps:
- name: Checkout local repository
Expand All @@ -175,14 +175,14 @@ jobs:
jenv add ${JAVA_HOME_21_X64}
- name: Install nvm at specific version
run: |
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.4/install.sh | bash
- name: Get Date
id: get-date
run: |
echo "date=$(/bin/date -u "+%Y%m%d")" >> $GITHUB_OUTPUT
shell: bash
- name: Cache gradle wrapper and jars
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: |
~/.gradle/caches
Expand All @@ -197,18 +197,18 @@ jobs:
working-directory: ${{ github.workspace }}/${{ env.SERVICE_NAME }}/
- name: Docker meta
id: docker_meta
uses: docker/metadata-action@v5
uses: docker/metadata-action@v6
with:
images: ${{ secrets.DOCKER_HUB_USERNAME }}/${{ env.SERVICE_NAME }}
tags: |
type=semver,pattern={{major}}.{{minor}}.{{patch}}
type=semver,pattern={{major}}.{{minor}}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
uses: docker/setup-buildx-action@v4
with:
platforms: linux/amd64,linux/arm64
- name: Login to DockerHub
uses: docker/login-action@v3
uses: docker/login-action@v4
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_PASSWORD }}
Expand All @@ -221,7 +221,7 @@ jobs:
body: "Changelog can be found [here](${{ needs.update_changelog.outputs.CHANGE_LOG_URL }})."
- name: Build and push
id: docker_build
uses: docker/build-push-action@v6
uses: docker/build-push-action@v7
with:
context: ${{ github.workspace }}/${{ env.SERVICE_NAME }}
tags: ${{ steps.docker_meta.outputs.tags }}
Expand All @@ -237,7 +237,7 @@ jobs:
readme-filepath: ${{ github.workspace }}/${{ env.SERVICE_NAME }}/README.md

deploy_to_github_pages:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs: [ docker ]
permissions:
contents: read
Expand All @@ -252,7 +252,7 @@ jobs:
with:
path: ${{ github.workspace }}/${{ env.SERVICE_NAME }}
- name: Setup Pages
uses: actions/configure-pages@v5
uses: actions/configure-pages@v6
with:
enablement: true
- name: Get Date
Expand All @@ -262,9 +262,9 @@ jobs:
shell: bash
- name: Install nvm at specific version
run: |
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.4/install.sh | bash
- name: Cache node modules
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ steps.get-date.outputs.date }}-${{ hashFiles('**/package-lock.json') }}
Expand All @@ -276,9 +276,9 @@ jobs:
run: ./run.sh frontend-build-for-github-pages
working-directory: ${{ github.workspace }}/${{ env.SERVICE_NAME }}/
- name: Upload site artifact
uses: actions/upload-pages-artifact@v4
uses: actions/upload-pages-artifact@v5
with:
path: "${{ github.workspace }}/${{ env.SERVICE_NAME }}/frontend/dist"
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
uses: actions/deploy-pages@v5
18 changes: 9 additions & 9 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ env:

jobs:
determine-changes:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
outputs:
HAS_BACKEND_CHANGES: ${{ steps.changes.outputs.backend }}
HAS_FRONTEND_CHANGES: ${{ steps.changes.outputs.frontend }}
Expand All @@ -25,7 +25,7 @@ jobs:
path: ${{ github.workspace }}/${{ env.SERVICE_NAME }}
fetch-depth: 5
- name: Determine new changes
uses: dorny/paths-filter@v3
uses: dorny/paths-filter@v4
id: changes
with:
filters: |
Expand All @@ -36,7 +36,7 @@ jobs:
working-directory: ${{ github.workspace }}/${{ env.SERVICE_NAME }}/

talisman-checks:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
if: ${{ github.actor != 'dependabot[bot]' && github.event_name != 'schedule' }}
steps:
- name: Checkout local repository
Expand All @@ -55,7 +55,7 @@ jobs:

backend-dependency-checks:
if: ${{ github.event_name == 'schedule' || needs.determine-changes.outputs.HAS_BACKEND_CHANGES == 'true' }}
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs: [ determine-changes ]
steps:
- name: Checkout local repository
Expand All @@ -77,7 +77,7 @@ jobs:
echo "date=$(/bin/date -u "+%Y%m%d")" >> $GITHUB_OUTPUT
shell: bash
- name: Cache nvd nist data
uses: actions/cache@v4
uses: actions/cache@v5
id: nvd-nist-cache
with:
path: ${{ github.workspace }}/${{ env.SERVICE_NAME }}/backend/.nvd-nist-cache
Expand All @@ -86,7 +86,7 @@ jobs:
${{ runner.os }}-nvd-nist-cache-${{ steps.get-date.outputs.date }}
${{ runner.os }}-nvd-nist-cache
- name: Cache gradle wrapper and jars
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: |
~/.gradle/caches
Expand All @@ -100,14 +100,14 @@ jobs:
working-directory: ${{ github.workspace }}/${{ env.SERVICE_NAME }}/
- name: Upload dependency check report to artifacts
if: ${{ failure() }}
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v7
with:
name: dependency-check-report.html
path: ${{ github.workspace }}/${{ env.SERVICE_NAME }}/backend/build/reports/dependency-check-report.html

frontend-dependency-checks:
if: ${{ github.event_name == 'schedule' || needs.determine-changes.outputs.HAS_FRONTEND_CHANGES == 'true' }}
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs: [ determine-changes ]
steps:
- name: Checkout local repository
Expand All @@ -116,7 +116,7 @@ jobs:
path: ${{ github.workspace }}/${{ env.SERVICE_NAME }}
- name: Install nvm at specific version
run: |
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.4/install.sh | bash
- name: Dependency Check
run: ./run.sh check-frontend
working-directory: ${{ github.workspace }}/${{ env.SERVICE_NAME }}/
6 changes: 3 additions & 3 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:

jobs:
determine-changes:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
outputs:
LANGUAGES: ${{ steps.changes.outputs.changes }}
steps:
Expand All @@ -25,7 +25,7 @@ jobs:
with:
fetch-depth: 5
- name: Determine new changes
uses: dorny/paths-filter@v3
uses: dorny/paths-filter@v4
id: changes
with:
filters: |
Expand All @@ -38,7 +38,7 @@ jobs:

analyze:
name: Analyze
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs: determine-changes
permissions:
actions: read
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ env:

jobs:
deploy_to_github_pages:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
permissions:
contents: read
pages: write
Expand All @@ -27,7 +27,7 @@ jobs:
path: ${{ github.workspace }}/${{ env.SERVICE_NAME }}
ref: ${{ inputs.git_ref }}
- name: Setup Pages
uses: actions/configure-pages@v5
uses: actions/configure-pages@v6
with:
enablement: true
- name: Get Date
Expand All @@ -37,9 +37,9 @@ jobs:
shell: bash
- name: Install nvm at specific version
run: |
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.4/install.sh | bash
- name: Cache node modules
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ steps.get-date.outputs.date }}-${{ hashFiles('**/package-lock.json') }}
Expand All @@ -51,9 +51,9 @@ jobs:
run: ./run.sh frontend-build-for-github-pages
working-directory: ${{ github.workspace }}/${{ env.SERVICE_NAME }}/
- name: Upload site artifact
uses: actions/upload-pages-artifact@v4
uses: actions/upload-pages-artifact@v5
with:
path: "${{ github.workspace }}/${{ env.SERVICE_NAME }}/frontend/dist"
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
uses: actions/deploy-pages@v5
Loading
Loading