Skip to content

Revert "GHA: platform-linux: Adds /etc/ansible/facts.d to the caching… #308

Revert "GHA: platform-linux: Adds /etc/ansible/facts.d to the caching…

Revert "GHA: platform-linux: Adds /etc/ansible/facts.d to the caching… #308

Workflow file for this run

---
name: Check
# yamllint disable-line rule:truthy
on:
pull_request:
push:
jobs:
Pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: ~/.cache/pre-commit
key: pre-commit|${{ hashFiles('.pre-commit-config.yaml') }}
- name: Installs shfmt
run: >
sudo install /dev/stdin /usr/local/bin/shfmt
< <(curl -L "$SHFMT_URL")
env:
# yamllint disable-line rule:line-length
SHFMT_URL: https://github.com/mvdan/sh/releases/download/v3.1.1/shfmt_v3.1.1_linux_amd64
- uses: actions/setup-python@v3
- uses: pre-commit/[email protected]