Skip to content

Fix actionlint hook (#2) #9

Fix actionlint hook (#2)

Fix actionlint hook (#2) #9

Workflow file for this run

name: Tests
on:
push:
concurrency:
group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/main' && github.run_id || github.ref }}
cancel-in-progress: true
jobs:
check_hooks:
name: Check hooks work
timeout-minutes: 15
runs-on: ubuntu-22.04
steps:
- name: Clone repository
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install pre-commit
run: |
apk update && apk add python3 python3-dev py3-pip git go build-base
pip install pre-commit --ignore-installed distlib
pre-commit install --install-hooks
- name: Run pre-commit hooks
run: |
pre-commit run --all-files --show-diff-on-failure