chore(deps): pin ksmanis/gentoo-distcc docker tag to 7b80638 #448
Workflow file for this run
This file contains 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: lint | |
on: [push, pull_request] | |
jobs: | |
pre-commit: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 2 | |
- name: Install pre-commit | |
run: pipx install pre-commit | |
- name: Identify Python version | |
run: echo "PYTHON_VERSION=$(python -V | cut -d' ' -f2 | cut -d. -f-2)" >> "$GITHUB_ENV" | |
- name: Cache pre-commit hooks | |
id: cache-pre-commit | |
uses: actions/cache@v3 | |
with: | |
path: ~/.cache/pre-commit | |
key: pre-commit-${{ env.PYTHON_VERSION }}-${{ hashFiles('.pre-commit-config.yaml') }} | |
restore-keys: | | |
pre-commit-${{ env.PYTHON_VERSION }}- | |
pre-commit- | |
- name: Prune pre-commit hooks | |
if: steps.cache-pre-commit.outputs.cache-hit != 'true' | |
run: pre-commit gc | |
- name: Run gitlint | |
run: pre-commit run --color=always --hook-stage manual gitlint-ci | |
- name: Run pre-commit | |
run: pre-commit run --all-files --color=always --show-diff-on-failure | |
super-linter: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Run super-linter | |
uses: github/super-linter@v5.0.0 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
VALIDATE_BASH: false | |
VALIDATE_DOCKERFILE_HADOLINT: false | |
VALIDATE_GITHUB_ACTIONS: false | |
VALIDATE_GITLEAKS: false | |
VALIDATE_MARKDOWN: false | |
VALIDATE_YAML: false |