Update dependency helm/helm to v4.1.0 #1082
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Test confbatstest | |
| on: | |
| push: | |
| paths: | |
| - .github/workflows/confbatstest.yaml | |
| - confbatstest/** | |
| pull_request: | |
| paths: | |
| - .github/workflows/confbatstest.yaml | |
| - confbatstest/** | |
| # Declare default permissions as read only. | |
| permissions: read-all | |
| jobs: | |
| conftest: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6 | |
| - uses: hadolint/hadolint-action@2332a7b74a6de0dda2e2221d575162eba76ba5e5 # v3.3.0 | |
| with: | |
| dockerfile: confbatstest/Dockerfile_build | |
| ignore: DL3041 # https://github.com/hadolint/hadolint/wiki/DL3041 | |
| - name: Switch the action to use the Dockerfile_build | |
| run: | | |
| mv confbatstest/Dockerfile confbatstest/Dockerfile_runnable | |
| mv confbatstest/Dockerfile_build confbatstest/Dockerfile | |
| - name: confbatstest - tests | |
| uses: ./confbatstest | |
| with: | |
| tests: confbatstest/_test/conftest.sh | |
| - name: confbatstest - raw | |
| uses: ./confbatstest | |
| with: | |
| raw: konstraint doc -o POLICIES.md | |
| - name: Check POLICIES.md file exists | |
| run: | | |
| FILE="POLICIES.md" | |
| if [ -f "$FILE" ]; then | |
| echo "$FILE exists." | |
| else | |
| echo "$FILE does not exist." | |
| exit 1 | |
| fi |