From 19fb1044b731cc2b8b3e09d2244fa06f2b1ff601 Mon Sep 17 00:00:00 2001 From: Mike Farah Date: Fri, 16 Jul 2021 09:44:50 +1000 Subject: [PATCH] testing github action --- .github/workflows/test-yq.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/test-yq.yml diff --git a/.github/workflows/test-yq.yml b/.github/workflows/test-yq.yml new file mode 100644 index 00000000..9a62567b --- /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