Skip to content

Merge pull request #94 from asdf-community/renovate/actions-checkout-6.x #329

Merge pull request #94 from asdf-community/renovate/actions-checkout-6.x

Merge pull request #94 from asdf-community/renovate/actions-checkout-6.x #329

Workflow file for this run

---
name: Build
permissions:
contents: read
on:
schedule:
- cron: "0 23 * * 1"
push:
branches:
- master
pull_request:
jobs:
plugin_test:
name: asdf plugin test
strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
runs-on: ${{ matrix.os }}
steps:
- name: asdf_install
uses: asdf-vm/actions/setup@v4
# Disabled due to
# https://github.com/asdf-vm/actions/issues/595
# - name: asdf_plugin_test
# uses: asdf-vm/actions/plugin-test@v4
# with:
# skip_install: true
# command: kotlin -help
- uses: actions/setup-java@v5
with:
distribution: 'temurin'
java-version: '21'
- name: Checkout code
uses: actions/checkout@v6
with:
path: kotlin
- name: Move kotlin plugin to plugins dir
run: |
mkdir -p "${HOME}/.asdf/plugins/"
mv kotlin "${HOME}/.asdf/plugins/"
- name: Run kotlin specific tests
run: |-
bash "${HOME}/.asdf/plugins/kotlin/scripts/tests.bash"