setup-rokit/.github/actions/test/action.yml
2022-07-18 12:20:56 -04:00

41 lines
851 B
YAML

name: Test
description: Test
author: ok-nick
# same input as `setup-aftman`
inputs:
version:
required: false
no-trust-check:
default: 'false'
required: false
trusts:
required: false
path:
default: '.'
required: false
token:
default: '${{ github.token }}'
required: false
runs:
using: 'composite'
steps:
- run: |
cat > ${{ inputs.path}}/aftman.toml << EOF
[tools]
selene = "Kampfkarren/selene@0.19.1"
stylua = "JohnnyMorganz/stylua@0.14.0"
rojo = "rojo-rbx/rojo@7.2.1"
EOF
shell: bash
- name: Run setup-aftman
uses: ./
with:
version: ${{ inputs.version }}
no-trust-check: ${{ inputs.no-trust-check }}
trusts: ${{ inputs.trusts }}
path: ${{ inputs.path }}
token: ${{ inputs.token }}