Skip to content

Commit

Permalink
build(deps): bump helm-docs to v1.14.2 (#674)
Browse files Browse the repository at this point in the history
Co-authored-by: Giovanni Toraldo <[email protected]>
  • Loading branch information
github-actions[bot] and gionn authored Jul 15, 2024
1 parent c9214af commit 72af09c
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 7 deletions.
10 changes: 9 additions & 1 deletion .github/actions/setup-helm-docs/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ inputs:
version:
description: 'Version of helm-docs'
required: false
outputs:
version:
description: 'Version of helm-docs that was installed'
value: ${{ steps.version-detect.outputs.version }}
runs:
using: "composite"
steps:
Expand All @@ -12,4 +16,8 @@ runs:
repo: norwoodj/helm-docs
version: ${{ inputs.version != '' && inputs.version || env.DEFAULT_HELM_DOCS_VERSION }}
env:
DEFAULT_HELM_DOCS_VERSION: 1.13.1
DEFAULT_HELM_DOCS_VERSION: 1.14.2
- name: Set version as output
shell: bash
id: version-detect
run: echo "version=$(helm-docs -v | awk '{print $NF}')" >> $GITHUB_OUTPUT
7 changes: 2 additions & 5 deletions .github/tests/actions/test-setup-helm-docs/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,13 @@ name: Test setup-helm-docs
description: >
Just a test for setup-helm-docs
inputs:
version:
expected-version:
description: 'Version of helm-docs'
required: false
runs:
using: composite
steps:
- uses: ./.github/actions/setup-helm-docs
with:
version: ${{ inputs.version }}
- name: Check helm-docs version
shell: bash
run: |
[ "$(helm-docs -v | awk '{print $NF}')" = "${{ inputs.version || '1.13.1' }}" ]
[ "$(helm-docs -v | awk '{print $NF}')" = "${{ inputs.expected-version }}" ]
13 changes: 12 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,22 @@ jobs:
#
# * another line
# * one more

#region Test setup-helm-docs
- uses: ./.github/actions/setup-helm-docs
id: setup-helm-docs-latest
- uses: ./.github/tests/actions/test-setup-helm-docs
- uses: ./.github/tests/actions/test-setup-helm-docs
with:
expected-version: ${{ steps.setup-helm-docs-latest.outputs.version }}
- uses: ./.github/actions/setup-helm-docs
id: setup-helm-docs-fixed-version
with:
version: 1.13.1
- uses: ./.github/tests/actions/test-setup-helm-docs
with:
expected-version: ${{ steps.setup-helm-docs-fixed-version.outputs.version }}
#endregion

- uses: ./.github/actions/setup-jx-release-version
- uses: ./.github/actions/setup-kubepug
- uses: ./.github/actions/rancher
Expand Down

0 comments on commit 72af09c

Please sign in to comment.