diff --git a/.github/workflows/test-yq.yml b/.github/workflows/test-yq.yml new file mode 100644 index 0000000..9a62567 --- /dev/null +++ b/.github/workflows/test-yq.yml @@ -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 \ No newline at end of file