From 64b1b9eb28920bb1a4c13c05321df284f9a8f940 Mon Sep 17 00:00:00 2001 From: Daniel Carbone Date: Fri, 8 Sep 2023 09:25:30 -0500 Subject: [PATCH] bumping yq to 4.35.1 (#1) * bumping yq to 4.35.1 * friggin yaml --- .github/workflows/example-linux.yaml | 2 +- .github/workflows/example-macos.yaml | 2 +- .github/workflows/example-windows.yaml | 2 +- .github/workflows/tests.yaml | 4 +++- README.md | 2 +- action.yaml | 2 +- scripts/unixish.sh | 2 +- 7 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/example-linux.yaml b/.github/workflows/example-linux.yaml index e4528bb..b0b812a 100644 --- a/.github/workflows/example-linux.yaml +++ b/.github/workflows/example-linux.yaml @@ -7,7 +7,7 @@ on: type: string required: false description: "Version of YQ to install" - default: "v4.30.6" + default: "v4.35.1" download-compressed: type: boolean required: false diff --git a/.github/workflows/example-macos.yaml b/.github/workflows/example-macos.yaml index ac9f28a..4496c47 100644 --- a/.github/workflows/example-macos.yaml +++ b/.github/workflows/example-macos.yaml @@ -7,7 +7,7 @@ on: type: string required: false description: "Version of YQ to install" - default: "v4.30.6" + default: "v4.35.1" download-compressed: type: boolean required: false diff --git a/.github/workflows/example-windows.yaml b/.github/workflows/example-windows.yaml index f107a7b..c17499a 100644 --- a/.github/workflows/example-windows.yaml +++ b/.github/workflows/example-windows.yaml @@ -7,7 +7,7 @@ on: type: string required: false description: "Version of YQ to install" - default: "v4.30.6" + default: "v4.35.1" download-compressed: type: boolean required: false diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 1423d89..020a71b 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -39,7 +39,7 @@ jobs: name: "Test Action - (img: ${{ matrix.image }}; dlcmp: ${{ matrix.download-compressed }}; force: ${{ matrix.force }})" runs-on: ${{ matrix.image }} steps: - - uses: actions/checkout@v3.1.0 + - uses: actions/checkout@v4 - name: Setup yq id: install-yq @@ -57,6 +57,7 @@ jobs: - name: Check Outputs - Unix-ish if: runner.os == 'Linux' || runner.os == 'macOS' shell: bash -e {0} + # language=sh run: | _installed='${{ steps.install-yq.outputs.installed }}' _err= @@ -99,6 +100,7 @@ jobs: - name: Check Outputs - Windows-ish if: runner.os == 'Windows' shell: powershell + # language=pwsh run: | $ErrorActionPreference = 'Stop' Set-StrictMode -Version Latest diff --git a/README.md b/README.md index c247bdd..efccaa6 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ Cross-platform [yq](https://github.com/mikefarah/yq) installer composite action version: required: false description: "Version of YQ to install" - default: "v4.30.6" + default: "v4.35.1" ``` This must be a version with a [corresponding release](https://github.com/mikefarah/yq/releases). diff --git a/action.yaml b/action.yaml index 69fd2a1..231344f 100644 --- a/action.yaml +++ b/action.yaml @@ -10,7 +10,7 @@ inputs: version: required: false description: "Version of YQ to install" - default: "v4.30.6" + default: "v4.35.1" download-compressed: required: false description: "If 'true', downloads .tar.gz of binary rather than raw binary. Save the tubes." diff --git a/scripts/unixish.sh b/scripts/unixish.sh index 9843372..e7f28c5 100755 --- a/scripts/unixish.sh +++ b/scripts/unixish.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -set -e +set -euo pipefail echo '::group::Prep'