KScript Action is a simple Github action that allows you to run KScript files within your GitHub actions workflow.
on: [pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: SCM
uses: actions/checkout@v2
- name: Check groovy
uses: maximbircu/kscript-action@v1.0.0
with:
kscript-version: 3.1.0
kotlin-version: 1.5.31
kotlin-script: path/to/your/kscript.kts (or an url)
- Make sure there is a GitHub issue describing the changes you want to contribute with. (Add one if needed)
- Submit a PR just in case you:
- Fixed the bug or implement the new feature properly;
- Covered all code with unit tests;
- Updated the changelog file;
- Updated the documentation (If needed);
Copyright 2021 Maxim Bîrcu
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.