update: add advent of code events for 2022 #4399
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
name: Verify samples | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
verify_samples: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up JDK | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'zulu' | |
- name: Run a verifier | |
uses: AlexanderPrendota/kotlin-samples-verifier@master | |
with: | |
push-repository: 'https://github.com/JetBrains/kotlin-compiler-server' | |
tag-filter: '#tag="code" & kotlin-runnable="true" & !validate="false"' | |
push-path: 'src/test/resources/test-compile-data/jvm/kotlin-web-site' | |
username: '${{ secrets.KOTLIN_WEB_SITE_TOKEN }}' #token with an access to create PR in push-repository and issue in this repository |