Update dependency org.jetbrains.kotlin:kotlin-gradle-plugin to v2.1.0 #212
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# THIS ACTION IS FOR VALIDATION WITHIN TEMPLATE REPO, AND WILL BE | |
# REMOVED UPON RUNNING RENAMETEMPLATE GRADLE TASK. | |
name: Install Windows Hooks | |
# This will cancel any in progress workflows for the same PR, if | |
# multiple pushes happen in quick succession. | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
on: pull_request | |
jobs: | |
install-windows-hooks: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set Up JDK | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'zulu' | |
java-version: 17 | |
- name: Setup Gradle | |
uses: gradle/gradle-build-action@v3 | |
- name: Install | |
run: ./gradlew installGitHooks | |
- name: Check Pre-Commit File | |
uses: GuillaumeFalourd/[email protected] | |
with: | |
command_line: cat .git/hooks/pre-commit | |
assert_file_path: git-hooks/pre-commit-windows.sh | |
expected_result: PASSED | |
- name: Check Pre-Push File | |
uses: GuillaumeFalourd/[email protected] | |
with: | |
command_line: cat .git/hooks/pre-push | |
assert_file_path: git-hooks/pre-push-windows.sh | |
expected_result: PASSED |