Skip to content

Commit 8c6ea53

Browse files
Merge pull request #14 from PascalHonegger/latest-and-greatest
Latest and greatest versions
2 parents c734f5f + c16ae7d commit 8c6ea53

File tree

120 files changed

+3700
-14419
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

120 files changed

+3700
-14419
lines changed

.github/workflows/backend.yml

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -18,30 +18,12 @@ jobs:
1818
- uses: actions/setup-java@v3
1919
with:
2020
distribution: temurin
21-
java-version: 19
21+
java-version: 21
2222
cache: gradle
2323
- name: Verify
24-
run: ./gradlew --no-daemon check koverMergedHtmlReport koverMergedVerify
24+
run: ./gradlew --no-daemon check koverHtmlReport koverVerify
2525
- name: Archive code coverage results
2626
uses: actions/upload-artifact@v3
2727
with:
2828
name: code-coverage-report
2929
path: build/reports/kover/html/
30-
31-
qodana-jvm:
32-
runs-on: ubuntu-latest
33-
steps:
34-
- uses: actions/checkout@v3
35-
- uses: actions/setup-java@v3
36-
with:
37-
distribution: temurin
38-
java-version: 19
39-
cache: gradle
40-
- name: Build
41-
run: ./gradlew --no-daemon assemble
42-
- name: 'Qodana JVM Scan'
43-
uses: JetBrains/[email protected]
44-
with:
45-
args: '--linter,jetbrains/qodana-jvm'
46-
artifact-name: 'qodana-jvm-report'
47-
cache-dir: ${{ runner.temp }}/qodana-jvm/caches

.github/workflows/frontend.yml

Lines changed: 8 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -15,30 +15,15 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- uses: actions/checkout@v3
18-
- uses: actions/setup-node@v3
18+
- uses: pnpm/action-setup@v2
1919
with:
20-
node-version: 18
21-
cache: npm
22-
cache-dependency-path: Frontend/package-lock.json
23-
- run: npm ci
24-
working-directory: Frontend
25-
- run: npm run lint
26-
working-directory: Frontend
27-
28-
qodana-js:
29-
runs-on: ubuntu-latest
30-
steps:
31-
- uses: actions/checkout@v3
20+
package_json_file: Frontend/package.json
3221
- uses: actions/setup-node@v3
3322
with:
34-
node-version: 18
35-
cache: npm
36-
cache-dependency-path: Frontend/package-lock.json
37-
- run: npm ci
23+
node-version: 20
24+
cache: pnpm
25+
cache-dependency-path: Frontend/pnpm-lock.yaml
26+
- run: pnpm i
27+
working-directory: Frontend
28+
- run: pnpm lint
3829
working-directory: Frontend
39-
- name: 'Qodana JS Scan'
40-
uses: JetBrains/[email protected]
41-
with:
42-
args: '-i,Frontend,--linter,jetbrains/qodana-js'
43-
artifact-name: 'qodana-js-report'
44-
cache-dir: ${{ runner.temp }}/qodana-js/caches

.github/workflows/gradle-dependency-submission.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- uses: actions/setup-java@v3
1616
with:
1717
distribution: temurin
18-
java-version: 19
18+
java-version: 21
1919
cache: gradle
2020

2121
- name: Run snapshot action

.github/workflows/operations.yml

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,25 +18,28 @@ jobs:
1818
- uses: actions/setup-java@v3
1919
with:
2020
distribution: temurin
21-
java-version: 19
21+
java-version: 21
2222
cache: gradle
23+
- uses: pnpm/action-setup@v2
24+
with:
25+
package_json_file: Frontend/package.json
2326
- uses: actions/setup-node@v3
2427
with:
25-
node-version: 18
26-
cache: npm
27-
cache-dependency-path: Frontend/package-lock.json
28-
- run: npm ci
28+
node-version: 20
29+
cache: pnpm
30+
cache-dependency-path: Frontend/pnpm-lock.yaml
31+
- run: pnpm i
2932
working-directory: Frontend
3033
- name: Build Frontend
31-
run: npm run build
34+
run: pnpm build
3235
working-directory: Frontend
3336
- name: Build Backend
3437
run: ./gradlew --no-daemon shadowJar
3538

3639
- name: Set up QEMU
37-
uses: docker/setup-qemu-action@v2
40+
uses: docker/setup-qemu-action@v3
3841
- name: Set up Docker Buildx
39-
uses: docker/setup-buildx-action@v2
42+
uses: docker/setup-buildx-action@v3
4043
- name: Login to GitHub Container Registry
4144
uses: docker/login-action@v2
4245
with:
@@ -45,7 +48,7 @@ jobs:
4548
password: ${{ github.token }}
4649
- name: Docker meta
4750
id: meta
48-
uses: docker/metadata-action@v4
51+
uses: docker/metadata-action@v5
4952
with:
5053
images: |
5154
ghcr.io/pascalhonegger/jasstracker
@@ -55,7 +58,7 @@ jobs:
5558
type=semver,pattern={{major}}
5659
type=ref,event=pr
5760
- name: Build and push container images
58-
uses: docker/build-push-action@v3
61+
uses: docker/build-push-action@v5
5962
with:
6063
file: DockerfileBuiltLocally
6164
context: .

.idea/compiler.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/kotlinc.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/runConfigurations/Postgres_Dev.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Backend/bootstrap/build.gradle.kts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
@Suppress("DSL_SCOPE_VIOLATION") // see https://youtrack.jetbrains.com/issue/KTIJ-19369
21
plugins {
32
application
43
alias(libs.plugins.kotlin.jvm)
54
alias(libs.plugins.shadow)
5+
alias(libs.plugins.kover)
66
}
77

88
application {
@@ -12,6 +12,10 @@ application {
1212
applicationDefaultJvmArgs = listOf("-Dio.ktor.development=$isDevelopment")
1313
}
1414

15+
kotlin {
16+
jvmToolchain(20)
17+
}
18+
1519
dependencies {
1620
implementation(project(":Backend:data-access"))
1721
implementation(project(":Backend:domain"))
@@ -31,6 +35,7 @@ dependencies {
3135
implementation(libs.kotlinx.datetime)
3236
implementation(libs.logback)
3337
implementation(libs.kotlin.logging)
38+
implementation(libs.slf4j)
3439
implementation(libs.java.jwt)
3540
}
3641

Backend/bootstrap/src/main/kotlin/dev/honegger/jasstracker/bootstrap/plugins/HTTP.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import io.ktor.server.plugins.contentnegotiation.*
1010
import io.ktor.server.plugins.cors.routing.*
1111
import io.ktor.server.plugins.statuspages.*
1212
import io.ktor.server.request.*
13-
import mu.KotlinLogging
13+
import io.github.oshai.kotlinlogging.KotlinLogging
1414

1515
fun Application.configureHTTP() {
1616
val log = KotlinLogging.logger { }

0 commit comments

Comments
 (0)