From cb25a211ae97ac366fe8d195042cca38119e70d9 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 18 Aug 2022 21:39:34 +0000 Subject: [PATCH] chore(deps): update dependency it.krzeminski:github-actions-kotlin-dsl to v0.25.0 --- .github/workflows/build.main.kts | 2 +- .github/workflows/build.yaml | 76 ++++++++++++++++---------------- 2 files changed, 38 insertions(+), 40 deletions(-) diff --git a/.github/workflows/build.main.kts b/.github/workflows/build.main.kts index c676916..d328e14 100755 --- a/.github/workflows/build.main.kts +++ b/.github/workflows/build.main.kts @@ -1,5 +1,5 @@ #!/usr/bin/env kotlin -@file:DependsOn("it.krzeminski:github-actions-kotlin-dsl:0.24.0") +@file:DependsOn("it.krzeminski:github-actions-kotlin-dsl:0.25.0") import it.krzeminski.githubactions.actions.actions.CheckoutV3 import it.krzeminski.githubactions.actions.gradle.GradleBuildActionV2 diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index d899f9d..8cdfcd4 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -3,53 +3,51 @@ # Generated with https://github.com/krzema12/github-actions-kotlin-dsl name: Build - -on: +'on': push: branches: - - 'main' - pull_request: - + - main + pull_request: {} jobs: - "check_yaml_consistency": - runs-on: "ubuntu-latest" + check_yaml_consistency: + runs-on: ubuntu-latest steps: - - id: step-0 - name: Check out - uses: actions/checkout@v3 - - id: step-1 - name: Execute script - run: rm '.github/workflows/build.yaml' && '.github/workflows/build.main.kts' - - id: step-2 - name: Consistency check - run: git diff --exit-code '.github/workflows/build.yaml' - "build": - runs-on: "ubuntu-latest" + - id: step-0 + name: Check out + uses: actions/checkout@v3 + - id: step-1 + name: Execute script + run: rm '.github/workflows/build.yaml' && '.github/workflows/build.main.kts' + - id: step-2 + name: Consistency check + run: git diff --exit-code '.github/workflows/build.yaml' + build: + runs-on: ubuntu-latest needs: - - "check_yaml_consistency" + - check_yaml_consistency steps: - - id: step-0 - uses: actions/checkout@v3 - - id: step-1 - uses: gradle/gradle-build-action@v2 - with: - arguments: build - "validate-types": - runs-on: "ubuntu-latest" + - id: step-0 + uses: actions/checkout@v3 + - id: step-1 + uses: gradle/gradle-build-action@v2 + with: + arguments: build + validate-types: + runs-on: ubuntu-latest needs: - - "check_yaml_consistency" + - check_yaml_consistency steps: - - id: step-0 - uses: actions/checkout@v3 - - id: step-1 - uses: krzema12/github-actions-typing@v0 - "build_kotlin_scripts": + - id: step-0 + uses: actions/checkout@v3 + - id: step-1 + uses: krzema12/github-actions-typing@v0 + build_kotlin_scripts: name: Build Kotlin scripts - runs-on: "ubuntu-latest" + runs-on: ubuntu-latest needs: - - "check_yaml_consistency" + - check_yaml_consistency steps: - - id: step-0 - uses: actions/checkout@v3 - - id: step-1 - run: find -name '*.main.kts' | xargs kotlinc + - id: step-0 + uses: actions/checkout@v3 + - id: step-1 + run: find -name '*.main.kts' | xargs kotlinc