mirror of
https://github.com/mikefarah/yq.git
synced 2024-12-19 20:19:04 +00:00
testing github action
This commit is contained in:
parent
d74bb8e28d
commit
19fb1044b7
19
.github/workflows/test-yq.yml
vendored
Normal file
19
.github/workflows/test-yq.yml
vendored
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
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:
|
||||||
|
cmd: yq eval '.a' examples/data1.yaml
|
||||||
|
- name: Write inplace test
|
||||||
|
id: lookupSdkVersion
|
||||||
|
uses: mikefarah/yq@master
|
||||||
|
with:
|
||||||
|
cmd: yq eval -i '.a.b = 5' examples/data1.yaml
|
Loading…
Reference in New Issue
Block a user