Update dependency org.slf4j:slf4j-api to v2.0.16 #469
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Verify | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: Gradle build | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: gradle/wrapper-validation-action@v3 | |
- name: Set up JDK 21 | |
uses: actions/setup-java@v4 | |
with: | |
distribution: temurin | |
java-version: 21 | |
- name: Build with Gradle | |
run: ./gradlew --build-cache build | |
- name: Test with Gradle | |
run: ./gradlew test --info | |
enforce-encoding: | |
runs-on: ubuntu-latest | |
name: Encoding check | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Remove allowed us-ascii files before check | |
run: rm src/main/resources/locale.properties src/main/resources/locale_en_US.properties # This needs improvement | |
- name: Check UTF-8 for resource bundles | |
run: | | |
find src/main/resources/locale* -type f -exec file --mime {} \; | grep -v charset=utf-8 && NOT_UTF_FOUND=1 || true | |
[[ \"$NOT_UTF_FOUND\" == \"1\" ]] && exit 1 || true | |
build-docker: | |
runs-on: ubuntu-latest | |
name: Docker build | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build as Docker image | |
run: docker build . |