Skip to content

tag filtering

tag filtering #12

Workflow file for this run

# This file was generated using Kotlin DSL (.github/workflows/pr.main.kts).
# If you want to modify the workflow, please change the Kotlin file and regenerate this YAML file.
# Generated with https://github.com/typesafegithub/github-workflows-kt
name: 'CI Build'
on:
pull_request:
branches:
- 'main'
push:
branches:
- 'main'
release: {}
jobs:
check_yaml_consistency:
name: 'Check YAML consistency'
runs-on: 'ubuntu-latest'
steps:
- id: 'step-0'
name: 'Check out'
uses: 'actions/checkout@v4'
- id: 'step-1'
name: 'Execute script'
run: 'rm ''.github/workflows/pr_master.yaml'' && ''.github/workflows/pr.main.kts'''
- id: 'step-2'
name: 'Consistency check'
run: 'git diff --exit-code ''.github/workflows/pr_master.yaml'''
build-and-test:
name: 'Build And Test'
runs-on: 'ubuntu-latest'
needs:
- 'check_yaml_consistency'
timeout-minutes: 30
steps:
- id: 'step-0'
name: 'Checkout'
uses: 'actions/checkout@v4'
- id: 'step-1'
name: 'git log'
run: 'git log -n 20'
- id: 'step-2'
name: 'setup java'
uses: 'actions/setup-java@v3'
with:
java-version: '17'
distribution: 'adopt'
cache: 'gradle'
- id: 'step-3'
name: 'build with gradle'
uses: 'gradle/gradle-build-action@v2'
with:
arguments: 'clean check build -PdoFailFast -PdockerComposeTestsEnabled=true --scan'