Skip to content

Use pkl-gha for GitHub Action Workflows #1

Use pkl-gha for GitHub Action Workflows

Use pkl-gha for GitHub Action Workflows #1

# Do not modify!
# This file was generated from a template using https://github.com/StefMa/pkl-gha
name: Check Pkl Actions Converted
'on':
pull_request: {}
push:
branches:
- main
permissions:
contents: read
jobs:
check-actions:
name: Check Actions converted
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install node
uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: npm
- name: Install Dependencies
run: npm ci
- name: Install pkl
uses: pkl-community/setup-pkl@v0
with:
pkl-version: 0.26.3
- name: Convert pkl actions to yaml
run: npm run gen:actions
- name: Verify if pkl actions are converted
run: git diff --exit-code