Bump @typescript-eslint/parser from 6.9.0 to 6.13.2 #779
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: 'build-test' | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
- 'releases/*' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: | | |
yarn | |
- run: | | |
yarn run all | |
- run: | | |
git diff --name-only --exit-code | |
- run: | | |
node dist/index.js | |
if ! [ -x "$(command -v kotlinc)" ]; then | |
echo 'Error: Expected kotlinc to be installed.' >&2 | |
exit 1 | |
fi | |
env: | |
INPUT_VERSION: 1.8.10 | |
INPUT_INSTALL-NATIVE: false | |
test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-20.04, windows-latest, macos-latest] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./ | |
test-with-arg: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-20.04, windows-latest, macos-latest] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./ | |
with: | |
version: 1.8.10 | |
script: | | |
#!/usr/bin/env kotlin | |
fun getInput(name: String): String { | |
return System.getenv("INPUT_${name.replace(" ", "_").toUpperCase()}") | |
} | |
if (getInput("version") != "1.8.10") { | |
throw RuntimeException("Expected version 1.8.10") | |
} | |
test-with-arg-default-version: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-20.04, windows-latest, macos-latest] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./ | |
with: | |
script: | | |
#!/usr/bin/env kotlin | |
fun getInput(name: String): String { | |
return System.getenv("INPUT_${name.replace(" ", "_").toUpperCase()}") | |
} | |
if (getInput("version") != "1.8.10") { | |
throw RuntimeException("Expected version 1.8.10") | |
} | |
test-with-native: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-20.04, windows-latest, macos-latest] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./ | |
with: | |
version: 1.8.10 | |
install-native: true | |
- run: kotlinc -version | |
- run: kotlinc-native -version | |
- run: echo 'fun main() {println("Hello Kotlin/Native!")}' > hello.kt | |
- run: kotlinc-native hello.kt | |
- run: ./program.exe | |
if: ${{ matrix.os == 'windows-latest' }} | |
- run: ./program.kexe | |
if: ${{ matrix.os != 'windows-latest' }} |