Skip to content

Commit

Permalink
Update env.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Raild3x committed Feb 6, 2025
1 parent 9b5ac08 commit 4e6a1bb
Showing 1 changed file with 53 additions and 53 deletions.
106 changes: 53 additions & 53 deletions .github/workflows/env.yml
Original file line number Diff line number Diff line change
@@ -1,54 +1,54 @@
on:
workflow_call:
inputs:
version:
type: string
required: false
path:
type: string
default: "."
required: false
cache:
type: string
default: "true"
required: false
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
workflow_call:
inputs:
version:
type: string
required: false
path:
type: string
default: "."
required: false
cache:
type: string
default: "true"
required: false

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

0 comments on commit 4e6a1bb

Please sign in to comment.