pre-commit: re-enable golangci-lint

Followup of #54
This commit is contained in:
Florian Schüller 2025-01-15 18:54:23 +01:00 committed by Michael Vogt
parent 3fb26dbffe
commit 4799e233c2
2 changed files with 8 additions and 4 deletions

View file

@ -12,8 +12,12 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Update apt repositories
run: sudo apt update
- name: Install lint dependencies
run: sudo apt install -y yamllint aspell pre-commit
- name: Install project dependencies
run: sudo apt install -y libgpgme-dev libbtrfs-dev
- name: "Clone Repository"
uses: actions/checkout@v4
- name: Set up Python

View file

@ -19,10 +19,10 @@ repos:
hooks:
- id: pyspelling
args: ["--config", ".spellcheck.yml"]
# - repo: https://github.com/golangci/golangci-lint
# rev: v1.63.1
# hooks:
# - id: golangci-lint
- repo: https://github.com/golangci/golangci-lint
rev: v1.63.1
hooks:
- id: golangci-lint
- repo: https://github.com/hhatto/autopep8
rev: v2.3.0
hooks: