diff --git a/.github/workflows/test-action.yml b/.github/workflows/test-action.yml index b5d5515..8f4eaff 100644 --- a/.github/workflows/test-action.yml +++ b/.github/workflows/test-action.yml @@ -8,7 +8,7 @@ jobs: name: Install chart-testing and test presence in path steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Install chart-testing uses: ./ - name: Check install! @@ -16,8 +16,8 @@ jobs: ct version CT_VERSION_OUTPUT=$(ct version 2>&1 /dev/null) ACTUAL_VERSION=$(echo "$CT_VERSION_OUTPUT" | grep Version | rev | cut -d ' ' -f1 | rev) - if [[ $ACTUAL_VERSION != 'v3.7.0' ]]; then - echo 'should be v3.7.0' + if [[ $ACTUAL_VERSION != 'v3.7.1' ]]; then + echo 'should be v3.7.1' exit 1 else exit 0 @@ -37,7 +37,7 @@ jobs: name: Install Custom chart-testing and test presence in path steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Install chart-testing uses: ./ with: diff --git a/README.md b/README.md index 3e80515..788d667 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ A GitHub Action for installing the [helm/chart-testing](https://github.com/helm/ For more information on inputs, see the [API Documentation](https://developer.github.com/v3/repos/releases/#input) -- `version`: The chart-testing version to install (default: `v3.7.0`) +- `version`: The chart-testing version to install (default: `v3.7.1`) - `yamllint_version`: The chart-testing version to install (default: `1.27.1`) - `yamale_version`: The chart-testing version to install (default: `3.0.4`) @@ -42,16 +42,17 @@ jobs: fetch-depth: 0 - name: Set up Helm - uses: azure/setup-helm@v1 + uses: azure/setup-helm@v3 with: - version: v3.9.2 + version: v3.10.0 - - uses: actions/setup-python@v2 + - uses: actions/setup-python@v4 with: - python-version: 3.7 + python-version: '3.9' + check-latest: true - name: Set up chart-testing - uses: helm/chart-testing-action@v2.2.1 + uses: helm/chart-testing-action@v2.3.1 - name: Run chart-testing (list-changed) id: list-changed @@ -65,7 +66,7 @@ jobs: run: ct lint --target-branch ${{ github.event.repository.default_branch }} - name: Create kind cluster - uses: helm/kind-action@v1.2.0 + uses: helm/kind-action@v1.4.0 if: steps.list-changed.outputs.changed == 'true' - name: Run chart-testing (install) diff --git a/action.yml b/action.yml index b882cb2..b44dfa0 100644 --- a/action.yml +++ b/action.yml @@ -6,9 +6,9 @@ branding: icon: anchor inputs: version: - description: "The chart-testing version to install (default: v3.7.0)" + description: "The chart-testing version to install (default: v3.7.1)" required: false - default: v3.7.0 + default: v3.7.1 yamllint_version: description: "The yamllint version to install (default: 1.27.1)" required: false diff --git a/ct.sh b/ct.sh index bd35db1..4f776ed 100755 --- a/ct.sh +++ b/ct.sh @@ -4,7 +4,7 @@ set -o errexit set -o nounset set -o pipefail -DEFAULT_CHART_TESTING_VERSION=v3.7.0 +DEFAULT_CHART_TESTING_VERSION=v3.7.1 DEFAULT_YAMLLINT_VERSION=1.27.1 DEFAULT_YAMALE_VERSION=3.0.4