name: Test description: Test `setup-aftman`. author: ok-nick # same input as `setup-aftman` inputs: version: required: false trust-check: default: 'true' 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 }} trust-check: ${{ inputs.trust-check }} trusts: ${{ inputs.trusts }} path: ${{ inputs.path }} token: ${{ inputs.token }} - name: Verify executables in PATH run: | if ! hash selene stylua rojo 2>/dev/null; then exit 1; fi shell: bash