From 3f6856a05d36784bfb0ccbc6b96a6d6a3fa0f77e Mon Sep 17 00:00:00 2001 From: ok-nick <25470747+ok-nick@users.noreply.github.com> Date: Fri, 16 Sep 2022 23:16:42 -0400 Subject: [PATCH] Format --- .github/actions/test/action.yml | 17 +++++++++-------- action.yml | 24 ++++++++++++------------ 2 files changed, 21 insertions(+), 20 deletions(-) diff --git a/.github/actions/test/action.yml b/.github/actions/test/action.yml index e403859..45e6a36 100644 --- a/.github/actions/test/action.yml +++ b/.github/actions/test/action.yml @@ -7,21 +7,22 @@ inputs: version: required: false path: - default: '.' + default: "." required: false token: - default: '${{ github.token }}' + default: "${{ github.token }}" required: false runs: - using: 'composite' + using: "composite" steps: - - run: | - cat > ${{ inputs.path}}/aftman.toml << EOF + - name: Create manifest file + 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" + selene = "Kampfkarren/selene@0.19.1" + stylua = "JohnnyMorganz/stylua@0.14.0" + rojo = "rojo-rbx/rojo@7.2.1" EOF shell: bash diff --git a/action.yml b/action.yml index 9c58166..df02805 100644 --- a/action.yml +++ b/action.yml @@ -4,28 +4,28 @@ author: ok-nick inputs: version: - description: '`aftman` version in the form `vx.x.x`' + description: "`aftman` version in the form `vx.x.x`" required: false trust-check: - description: 'Whether to check trusts' - deprecationMessage: 'Input `trust-check` is no longer used in `setup-aftman`, consider removing it from your configuration' - default: 'true' + description: "Whether to check trusts" + deprecationMessage: "Input `trust-check` is no longer used in `setup-aftman`, consider removing it from your configuration" + default: "true" required: false trusts: - description: 'List of trusted tools separated by spaces' - deprecationMessage: 'Input `trusts` is no longer used in `setup-aftman`, consider removing it from your configuration' + description: "List of trusted tools separated by spaces" + deprecationMessage: "Input `trusts` is no longer used in `setup-aftman`, consider removing it from your configuration" required: false path: - description: 'Path to the `aftman.toml` directory' - default: '.' + description: "Path to the `aftman.toml` directory" + default: "." required: false token: - description: 'Github token from `github.token`' - default: '${{ github.token }}' + description: "Github token from `github.token`" + default: "${{ github.token }}" required: false runs: - using: 'composite' + using: "composite" steps: - name: Download aftman run: | @@ -45,7 +45,7 @@ runs: unzip aftman*.zip ./aftman self-install shell: bash - + - name: Set environment variable if: runner.os == 'Windows' run: echo "$HOME/.aftman/bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append