Skip to content

Commit f6fa964

Browse files
committed
Update GitHub-Actions
1 parent 257bc58 commit f6fa964

File tree

2 files changed

+41
-14
lines changed

2 files changed

+41
-14
lines changed

.github/workflows/build.yml

Lines changed: 34 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Build
1+
name: CI
22

33
on:
44
push:
@@ -12,35 +12,60 @@ on:
1212
workflow_dispatch:
1313

1414
jobs:
15+
16+
test:
17+
name: "Tests"
18+
runs-on: ubuntu-latest
19+
steps:
20+
- name: Checkout
21+
uses: actions/checkout@v5
22+
with:
23+
submodules: recursive
24+
fetch-depth: 0 # needed for versioning
25+
- name: Set up Java
26+
uses: actions/setup-java@v5
27+
with:
28+
distribution: 'temurin'
29+
java-version: 21
30+
cache: 'gradle'
31+
- name: Tests
32+
run: ./gradlew spotlessCheck test --stacktrace
33+
1534
build:
35+
name: "Build"
1636
runs-on: ubuntu-latest
1737
steps:
18-
- uses: actions/checkout@v4
38+
- name: Checkout
39+
uses: actions/checkout@v5
1940
with:
2041
submodules: recursive
2142
fetch-depth: 0 # needed for versioning
2243
- name: Set up Java
23-
uses: actions/setup-java@v4
44+
uses: actions/setup-java@v5
2445
with:
2546
distribution: 'temurin'
2647
java-version: 21
2748
cache: 'gradle'
2849
- name: Build with Gradle
29-
run: ./gradlew spotlessCheck test release --stacktrace
30-
- uses: actions/upload-artifact@v4
50+
run: ./gradlew release --stacktrace
51+
- name: Upload Artifacts
52+
uses: actions/upload-artifact@v4
3153
with:
3254
name: artifacts
3355
path: build/release/*
3456

3557
docker:
58+
name: Deploy Docker Build
3659
runs-on: ubuntu-latest
3760
needs: build
3861
steps:
39-
- uses: actions/checkout@v4
62+
- name: Checkout
63+
uses: actions/checkout@v5
4064
with:
4165
submodules: recursive
4266
fetch-depth: 0
43-
- uses: actions/download-artifact@v4
67+
- name: Download Artifacts
68+
uses: actions/download-artifact@v5
4469
with:
4570
name: artifacts
4671
path: build/release
@@ -52,7 +77,7 @@ jobs:
5277
password: ${{ secrets.GITHUB_TOKEN }}
5378
- name: Set up Docker Buildx
5479
uses: docker/setup-buildx-action@v3
55-
- name: Docker metadata
80+
- name: Docker Metadata
5681
id: metadata
5782
uses: docker/metadata-action@v5
5883
with:
@@ -66,7 +91,7 @@ jobs:
6691
type=match,pattern=v\d+,group=0,enable=${{ startsWith(github.ref, 'refs/tags/') }}
6792
flavor: |
6893
latest=false
69-
- name: Build and push
94+
- name: Build and Push
7095
uses: docker/build-push-action@v5
7196
with:
7297
context: .

.github/workflows/translation-checker.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Check translations
1+
name: Check Translations
22

33
on:
44
push:
@@ -10,15 +10,17 @@ permissions:
1010
contents: read
1111

1212
jobs:
13-
deploy:
13+
run:
14+
name: Check Translations
1415
runs-on: ubuntu-latest
1516
steps:
1617
- name: Checkout
17-
uses: actions/checkout@v4
18-
- uses: actions/setup-node@v4
18+
uses: actions/checkout@v5
19+
- name: Install Node
20+
uses: actions/setup-node@v5
1921
with:
2022
node-version: 20
21-
- name: Install deps
23+
- name: Install Dependencies
2224
working-directory: .github/translation-checker
2325
run: npm ci
2426
- name: Run Translation Checker

0 commit comments

Comments
 (0)