diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index d0a500b..aeaffa1 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -12,15 +12,15 @@ jobs: pre-commit: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v3 - - uses: pre-commit/action@v3.0.0 - - name: Install dependencies run: | apt update -y apt install -y python3-dev python3-pip gitlint shellcheck reuse pip3 install salt-lint + - uses: actions/checkout@v3 + - uses: actions/setup-python@v3 + - uses: pre-commit/action@v3.0.0 + - name: Gitlint # yamllint disable-line rule:line-length run: gitlint --debug --commits ${{ github.event.pull_request.base.sha }}..${{ github.event.pull_request.head.sha }}