Bump github.com/goccy/go-yaml from 1.11.3 to 1.12.0 #1200
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test Yq Action | |
on: | |
push: | |
workflow_dispatch: | |
permissions: | |
contents: read | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Get test | |
id: get_value | |
uses: mikefarah/yq@master | |
with: | |
cmd: yq '.test' examples/multiline-text.yaml | |
- name: Multiline test | |
run: echo "### It was [${{ steps.get_value.outputs.result }}]" >> $GITHUB_STEP_SUMMARY | |
- name: Write inplace test | |
id: lookupSdkVersion | |
uses: mikefarah/yq@master | |
with: | |
cmd: yq -i '.b.c = 5' examples/sample.yaml |