Update dependency org.eclipse.jgit:org.eclipse.jgit to v6.6.1.2023090… #181
Workflow file for this run
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@v3 | |
with: | |
fetch-depth: 0 | |
- uses: gradle/wrapper-validation-action@v1 | |
- name: Set up JDK 20 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: temurin | |
java-version: 20 | |
- 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@v3 | |
- 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@v3 | |
- name: Build as Docker image | |
run: docker build . |