Skip to content

build(deps): bump org.kotlincrypto.hash:sha3 from 0.5.3 to 0.5.4 in /watermarker #120

build(deps): bump org.kotlincrypto.hash:sha3 from 0.5.3 to 0.5.4 in /watermarker

build(deps): bump org.kotlincrypto.hash:sha3 from 0.5.3 to 0.5.4 in /watermarker #120

#
# Copyright (c) 2023-2024 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V.
#
# This work is licensed under the Fraunhofer License (on the basis of the MIT license)
# that can be found in the LICENSE file.
#
name: "Test: Watermarker"
on:
push:
branches: [ main ]
paths: [ "watermarker/**" ]
pull_request:
branches: [ main ]
paths: [ "watermarker/**" ]
release:
types: [ published ]
permissions:
contents: read
concurrency:
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
cancel-in-progress: true
jobs:
lint-code:
name: Lint Code
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17
- name: Setup Gradle
uses: gradle/gradle-build-action@v3
- name: Lint Code
id: lint
working-directory: watermarker
run: ./gradlew ktlintCheck
run-tests:
name: Run Unit Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17
- name: Setup Gradle
uses: gradle/gradle-build-action@v3
- name: Run tests
id: test
working-directory: watermarker
run: ./gradlew test