Skip to content

chore(deps): update dependency mkdocs-material to v9.7.1 #1246

chore(deps): update dependency mkdocs-material to v9.7.1

chore(deps): update dependency mkdocs-material to v9.7.1 #1246

# This file was generated using Kotlin DSL (.github/workflows/end-to-end-tests.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: 'End-to-end tests (2nd workflow)'
on:
push:
branches:
- 'main'
pull_request: {}
jobs:
check_yaml_consistency:
name: 'Check YAML consistency'
runs-on: 'ubuntu-latest'
steps:
- id: 'step-0'
name: 'Check out'
uses: 'actions/checkout@v6'
- id: 'step-1'
name: 'Set up JDK'
uses: 'actions/setup-java@v5'
with:
java-version: '22'
distribution: 'zulu'
cache: 'gradle'
- id: 'step-2'
uses: 'gradle/actions/setup-gradle@v5'
- id: 'step-3'
name: 'Publish to Maven local'
run: './gradlew publishToMavenLocal'
- id: 'step-4'
name: 'Execute script'
continue-on-error: true
run: 'rm ''.github/workflows/end-to-end-tests-2nd-workflow.yaml'' && ''.github/workflows/end-to-end-tests.main.kts'''
- id: 'step-5'
name: '[Fallback] Start the local server'
run: 'docker run -p 8080:8080 krzema12/github-workflows-kt-jit-binding-server &'
if: '${{ steps.step-4.outcome != ''success'' }}'
- id: 'step-6'
name: '[Fallback] Wait for the server'
run: 'curl --head -X GET --retry 60 --retry-all-errors --retry-delay 1 http://localhost:8080/status'
if: '${{ steps.step-4.outcome != ''success'' }}'
- id: 'step-7'
name: '[Fallback] Replace server URL in script'
run: 'sed -i -e ''s/https:\/\/bindings.krzeminski.it/http:\/\/localhost:8080/g'' .github/workflows/end-to-end-tests.main.kts'
if: '${{ steps.step-4.outcome != ''success'' }}'
- id: 'step-8'
name: '[Fallback] Execute script again'
run: 'rm -f ''.github/workflows/end-to-end-tests-2nd-workflow.yaml'' && ''.github/workflows/end-to-end-tests.main.kts'''
if: '${{ steps.step-4.outcome != ''success'' }}'
- id: 'step-9'
name: 'Consistency check'
run: 'git diff --exit-code ''.github/workflows/end-to-end-tests-2nd-workflow.yaml'''
another_job:
runs-on: 'ubuntu-latest'
needs:
- 'check_yaml_consistency'
steps:
- id: 'step-0'
name: 'Check out'
uses: 'actions/checkout@v6'
- id: 'step-1'
name: 'Set up JDK'
uses: 'actions/setup-java@v5'
with:
java-version: '22'
distribution: 'zulu'
cache: 'gradle'
- id: 'step-2'
uses: 'gradle/actions/setup-gradle@v5'
- id: 'step-3'
name: 'Publish to Maven local'
run: './gradlew publishToMavenLocal'
- id: 'step-4'
name: 'Step with a Kotlin-based logic, in a different workflow'
env:
GHWKT_GITHUB_CONTEXT_JSON: '${{ toJSON(github) }}'
run: 'GHWKT_RUN_STEP=''end-to-end-tests-2nd-workflow.yaml:another_job:step-4'' ''.github/workflows/end-to-end-tests.main.kts'''