Watch
1
0
Fork
You've already forked mautrix-signal
0
mirror of https://github.com/mautrix/signal.git synced 2026-11-09 15:49:17 -05:00

Compare commits

...
Author SHA1 Message Date
Gerardo Rodriguez
0664587a4b ci: cache pre-commit hooks per Go version 2026-11-05 03:04:54 +00:00

View file

@ -32,8 +32,14 @@ jobs:
go install honnef.co/go/tools/cmd/staticcheck@latest
export PATH="$HOME/go/bin:$PATH"
- name: Cache pre-commit
uses: actions/cache@v6
with:
path: ~/.cache/pre-commit
key: pre-commit-go${{ matrix.go-version }}-${{ hashFiles('.pre-commit-config.yaml') }}
- name: Run pre-commit
uses: pre-commit/action@v3.0.1
run: pipx run pre-commit run --all-files --show-diff-on-failure --color=always
test:
runs-on: ubuntu-latest