Skip to content

Commit

Permalink
chore(deps): update dependency it.krzeminski:github-actions-kotlin-ds…
Browse files Browse the repository at this point in the history
…l to v0.25.0
  • Loading branch information
renovate[bot] authored and krzema12 committed Aug 22, 2022
1 parent 95e31fe commit cb25a21
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 40 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.main.kts
Original file line number Diff line number Diff line change
@@ -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
Expand Down
76 changes: 37 additions & 39 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit cb25a21

Please sign in to comment.