From 85696bbaf74d4483efb7be1818890413606bd5d7 Mon Sep 17 00:00:00 2001 From: Daniel Carbone Date: Tue, 19 Nov 2024 16:42:35 -0600 Subject: [PATCH 1/3] bumping install-yq-version to 1.3.1 for empty version fix --- .github/dependabot.yml | 1 - .github/workflows/tests.yaml | 1 + action.yaml | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 9960204..5ace460 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,6 +1,5 @@ version: 2 updates: - - package-ecosystem: "github-actions" directory: "/" schedule: diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 9bdbb07..3fd3bbe 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -28,6 +28,7 @@ jobs: mask-values: "true" - name: Test env + # language=sh run: | _EXPECTED_ENVS=( "STRING" diff --git a/action.yaml b/action.yaml index c1b3172..24fc8d5 100644 --- a/action.yaml +++ b/action.yaml @@ -45,7 +45,7 @@ runs: - name: 'Install yq (${{ inputs.yq-version }})' id: install-yq - uses: dcarbone/install-yq-action@v1 + uses: dcarbone/install-yq-action@v1.3.1 with: version: '${{ inputs.yq-version }}' From 4612aab1e16a0494dfe29f7dce986a43d09a3f64 Mon Sep 17 00:00:00 2001 From: Daniel Carbone Date: Tue, 19 Nov 2024 16:55:25 -0600 Subject: [PATCH 2/3] adding matrix for yq version --- .github/workflows/tests.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 3fd3bbe..e9a0324 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -15,7 +15,13 @@ on: jobs: test: - name: Test Action + strategy: + matrix: + yq-version: + - '' + - 'v4.44.3' + + name: 'Test Action (yq: ${{ matrix.yq-version }}' runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -26,6 +32,7 @@ jobs: with: yaml-file: test-values.yaml mask-values: "true" + yq-version: '${{ matrix.yq-version }}' - name: Test env # language=sh From 897a166fdbd0759cfdb9d268e3fb09aef233771d Mon Sep 17 00:00:00 2001 From: Daniel Carbone Date: Tue, 19 Nov 2024 16:56:57 -0600 Subject: [PATCH 3/3] ) --- .github/workflows/tests.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index e9a0324..9c3fbef 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -21,7 +21,7 @@ jobs: - '' - 'v4.44.3' - name: 'Test Action (yq: ${{ matrix.yq-version }}' + name: 'Test Action (yq: ${{ matrix.yq-version }})' runs-on: ubuntu-latest steps: - uses: actions/checkout@v4