yq/.github/workflows/test-yq.yml

19 lines
425 B
YAML
Raw Normal View History

2021-07-15 23:44:50 +00:00
name: Test Yq Action
on: [push]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Get test
uses: mikefarah/yq@master
with:
2021-07-24 05:05:42 +00:00
cmd: yq eval '.a' examples/bad-nono.yaml
2021-07-15 23:44:50 +00:00
- name: Write inplace test
id: lookupSdkVersion
uses: mikefarah/yq@master
with:
cmd: yq eval -i '.a.b = 5' examples/data1.yaml