mirror of
https://github.com/mikefarah/yq.git
synced 2024-11-12 13:48:06 +00:00
b1fee26a7f
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2...v3) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
19 lines
424 B
YAML
19 lines
424 B
YAML
name: Test Yq Action
|
|
on: [push]
|
|
jobs:
|
|
|
|
build:
|
|
name: Build
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Get test
|
|
uses: mikefarah/yq@master
|
|
with:
|
|
cmd: yq eval '.a' examples/sample.yaml
|
|
- name: Write inplace test
|
|
id: lookupSdkVersion
|
|
uses: mikefarah/yq@master
|
|
with:
|
|
cmd: yq eval -i '.b.c = 5' examples/sample.yaml |