Skip to content

Create test workflows #1

Create test workflows

Create test workflows #1

Workflow file for this run

on:
workflow_call:
inputs:
version:
type: string
required: false
path:
type: string
default: "."
required: false
cache:
type: string
default: "true"
required: false

Check failure on line 15 in .github/workflows/env.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/env.yml

Invalid workflow file

You have an error in your yaml syntax on line 15
jobs:
test-env:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Create manifest file
run: |
cat > ${{ inputs.path }}/rokit.toml << EOF
[tools]
selene = "Kampfkarren/[email protected]"
stylua = "JohnnyMorganz/[email protected]"
rojo = "rojo-rbx/[email protected]"
EOF
shell: bash
- name: Run setup-rokit
uses: ./
with:
version: ${{ inputs.version }}
path: ${{ inputs.path }}
cache: ${{ inputs.cache }}
- name: Verify executables in PATH on bash
run: |
command -v selene
command -v stylua
command -v rojo
shell: bash
- name: Verify executables in PATH on pwsh
run: |
Get-Command "selene"
Get-Command "stylua"
Get-Command "rojo"
shell: pwsh