Skip to content

Sync GPG properties on each build in CLM (bsc#1213689) #6290

Sync GPG properties on each build in CLM (bsc#1213689)

Sync GPG properties on each build in CLM (bsc#1213689) #6290

Workflow file for this run

name: Java checkstyle
on:
push:
branches:
- master
paths:
- 'java/**.java'
- 'java/**.xml'
- '.github/workflows/java-checkstyle.yml'
pull_request:
paths:
- 'java/**.java'
- 'java/**.xml'
- '.github/workflows/java-checkstyle.yml'
jobs:
checkstyle:
runs-on: ubuntu-latest
container: registry.opensuse.org/systemsmanagement/uyuni/master/docker/containers/uyuni-master-pgsql:latest
steps:
- uses: actions/checkout@v4
- name: Cache dependencies
id: cache-dependencies
uses: actions/cache@v3
with:
path: java/lib
key: ${{ runner.os }}-java-lib-${{ hashFiles('java/buildconf/ivy/*.*') }}
- name: Resolve dependencies
if: steps.cache-dependencies.outputs.cache-hit != 'true'
run: |
ant -f java/manager-build.xml ivy
- name: Run checkstyle
run: ant -f java/manager-build.xml checkstyle