chore(deps): renovate: astral-sh/setup-uv to 37802ad #277
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: Linting | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - renovate/** | |
| pull_request: | |
| types: | |
| - opened | |
| - ready_for_review | |
| - reopened | |
| - synchronize | |
| concurrency: | |
| cancel-in-progress: true | |
| group: >- | |
| ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| jobs: | |
| linting: | |
| if: github.event.pull_request.draft == false | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout source | |
| uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 | |
| - name: Cache prek | |
| uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4 | |
| with: | |
| path: ~/.cache/prek | |
| key: cache-${{ hashFiles('.pre-commit-config.yaml') }} | |
| - name: Set up uv | |
| uses: astral-sh/setup-uv@6ee6290f1cbc4156c0bdd66691b2c144ef8df19a # v7 | |
| with: | |
| activate-environment: true | |
| python-version: 3.14 | |
| - name: Install prek | |
| run: uv pip install prek | |
| - name: Install ansible | |
| run: uv pip install ansible | |
| - name: Install k3s-cluster ansible requirements | |
| run: | |
| uv run ansible-galaxy install -r | |
| ./modules/k3s-cluster/provision/ansible/requirements.yaml --force | |
| - name: Install vault-k8s-config ansible requirements | |
| run: | |
| uv run ansible-galaxy install -r | |
| ./modules/vault-k8s-config/requirements.yaml --force | |
| - name: Set up terraform | |
| uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd # v3 | |
| - name: Run prek | |
| run: uv run prek run --all-files --color always --verbose |