Update actions/checkout action to v6.0.3 #21
Workflow file for this run
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: CI | |
| on: | |
| pull_request: | |
| branches: [main] | |
| push: | |
| branches: [main] | |
| permissions: | |
| contents: read | |
| env: | |
| FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true | |
| DEVSPACE_VERSION: v6.3.15 | |
| HELM_VERSION: v3.18.3 | |
| YQ_VERSION: v4.45.4 | |
| jobs: | |
| pre-commit: | |
| name: Pre-commit | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 | |
| - name: Set up Python | |
| uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 | |
| with: | |
| python-version: "3.x" | |
| - name: Install Helm unittest tooling | |
| run: | | |
| set -euo pipefail | |
| mkdir -p "${RUNNER_TEMP}/bin" | |
| echo "${RUNNER_TEMP}/bin" >> "${GITHUB_PATH}" | |
| curl -fsSL "https://get.helm.sh/helm-${HELM_VERSION}-linux-amd64.tar.gz" \ | |
| | tar -xz -C "${RUNNER_TEMP}" | |
| mv "${RUNNER_TEMP}/linux-amd64/helm" "${RUNNER_TEMP}/bin/helm" | |
| helm plugin install https://github.com/helm-unittest/helm-unittest | |
| - name: Run pre-commit hooks | |
| run: | | |
| python -m pip install --upgrade pip | |
| python -m pip install pre-commit==4.6.0 | |
| pre-commit run --all-files --show-diff-on-failure | |
| devspace: | |
| name: DevSpace config | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 | |
| - name: Install DevSpace tooling | |
| run: | | |
| set -euo pipefail | |
| mkdir -p "${RUNNER_TEMP}/bin" | |
| echo "${RUNNER_TEMP}/bin" >> "${GITHUB_PATH}" | |
| curl -fsSL -o "${RUNNER_TEMP}/bin/yq" \ | |
| "https://github.com/mikefarah/yq/releases/download/${YQ_VERSION}/yq_linux_amd64" | |
| chmod +x "${RUNNER_TEMP}/bin/yq" | |
| curl -fsSL -o "${RUNNER_TEMP}/bin/devspace" \ | |
| "https://github.com/loft-sh/devspace/releases/download/${DEVSPACE_VERSION}/devspace-linux-amd64" | |
| chmod +x "${RUNNER_TEMP}/bin/devspace" | |
| - name: Validate DevSpace config | |
| run: devspace print --skip-info --disable-profile-activation >/tmp/devspace.yaml | |
| actionlint: | |
| name: GitHub Actions lint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 | |
| - name: Set up Go | |
| uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0 | |
| with: | |
| go-version-file: go.mod | |
| - name: Lint workflows | |
| run: go run github.com/rhysd/actionlint/cmd/actionlint@latest |