Skip to content

Commit

Permalink
Chore(ci): use asdf
Browse files Browse the repository at this point in the history
- use action to install asdf
- install action-validator
- fix action.yml (only string inputs allowed)
  • Loading branch information
till committed Feb 21, 2024
1 parent 598a7f3 commit b827ce3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: curl https://github.com/mpalmer/action-validator/releases/download/v0.5.4/action-validator_linux_amd64 -o ./action-validator
- run: chmod +x ./action-validator
- run: ./action-validator ./action.yml
- uses: asdf-vm/actions/install@v3
with:
tool_versions: |
action-validator 0.5.4
- run: asdf reshim action-validator
- run: action-validator ./action.yml

custom-controller-login:
needs:
Expand Down
7 changes: 2 additions & 5 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,11 @@ inputs:
default: "~/.ssh/id_rsa"
add-key:
description: if set to true, run "runway key create"
type: boolean
required: true
default: false
default: 'false'
setup-ssh:
description: if set to true, setup ssh to work for "runway app deploy"
type: boolean
required: true
default: false
default: 'false'
log-level:
description: debug, info, warn, error
default: error
Expand Down

0 comments on commit b827ce3

Please sign in to comment.