Sets up YQ, yet-another-markup-language-query-er, for use in your GitHub Actions workflow. (And it caches it, too!)
NB: This version of YQ purposefully diverges from JQ's argument format.
# in your job:
name: MY GREAT JOB
on:
push:
branches:
- '*'
jobs:
yq-example:
name: YQ example!
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: step-security/setup-yq@v1
- name: Show folks how to run YQ:
run: |
yq --help
Apache-2.0