Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mteodori committed Jun 19, 2024
1 parent eae4b47 commit e908253
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
3 changes: 1 addition & 2 deletions .github/actions/setup-helm-docs/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ inputs:
version:
description: 'Version of helm-docs'
required: false
default: '1.13.0'
runs:
using: "composite"
steps:
Expand All @@ -13,4 +12,4 @@ runs:
repo: norwoodj/helm-docs
version: ${{ inputs.version != '' && inputs.version || env.DEFAULT_HELM_DOCS_VERSION }}
env:
DEFAULT_HELM_DOCS_VERSION: 1.13.0
DEFAULT_HELM_DOCS_VERSION: 1.13.1
9 changes: 4 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,17 +2,16 @@ name: Test setup-helm-docs
description: >
Just a test for setup-helm-docs
inputs:
helm-docs-version:
version:
description: 'Version of helm-docs'
required: false

runs:
using: composite
steps:
- uses: ./.github/actions/setup-helm-docs
with:
version: ${{ inputs.helm-docs-version }}
- name: Check Helm-docs version
version: ${{ inputs.version }}
- name: Check helm-docs version
shell: bash
run: |
[ "$(helm-docs -v | awk '{print $NF}')" = "${{ inputs.helm-docs-version || '1.13.1' }}" ]
[ "$(helm-docs -v | awk '{print $NF}')" = "${{ inputs.version || '1.13.1' }}" ]
3 changes: 3 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,6 @@ jobs:
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: ./.github/tests/actions/test-setup-helm-docs
with:
version: 1.13.1
- uses: ./.github/tests/actions/test-setup-helm-docs

0 comments on commit e908253

Please sign in to comment.