Skip to content

Update dependency gradle to v8.10 #456

Update dependency gradle to v8.10

Update dependency gradle to v8.10 #456

Workflow file for this run

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 .