Skip to content

Merge pull request #5 from direct-actions/dev #84

Merge pull request #5 from direct-actions/dev

Merge pull request #5 from direct-actions/dev #84

Workflow file for this run

name: Tests
on:
push:
jobs:
test_action:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Test 1
uses: ./
with:
arg: 'bob: yep'
filter: '"howdy: \($bob)"'
indent: 4
input: '{ "hi": "mom" }'
raw-output: true
sort-keys: true
- name: Test 2
uses: ./
with:
args: a b c
filter: '"\($ARGS.positional[0]), \($ARGS.positional[1]), \($ARGS.positional[2])"'
input-yaml: |
a: b
c: d
null-input: true
- name: Test input-command
uses: ./
with:
filter: '{ files: split("\n") }'
input-command: ls /
raw-input: true
slurp: true