chore(deps): update pre-commit hook charliermarsh/ruff-pre-commit to v0.7.1 #1747
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
--- | |
# yamllint disable rule:line-length | |
name: Run pre-commit hooks | |
on: # yamllint disable-line rule:truthy | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
pre-commit: | |
runs-on: ubuntu-latest | |
steps: | |
- run: | | |
sudo apt update | |
sudo apt install -y curl | |
curl --proto '=https' --tlsv1.2 -fsSL https://get.opentofu.org/install-opentofu.sh -o install-opentofu.sh | |
sh install-opentofu.sh --install-method deb | |
- uses: actions/[email protected] | |
- uses: actions/[email protected] | |
with: | |
python-version: 3.x | |
- run: | | |
sed -i '/vars_files/I,+1 d' main.yaml | |
sed -i '/vault_password_file/d' ansible.cfg | |
- uses: pre-commit/[email protected] |