Skip to content

pip(deps): bump mkdocs-panzoom-plugin from 0.4.1 to 0.5.2 #846

pip(deps): bump mkdocs-panzoom-plugin from 0.4.1 to 0.5.2

pip(deps): bump mkdocs-panzoom-plugin from 0.4.1 to 0.5.2 #846

name: Linting and Formatting
on:
push:
branches:
- main
pull_request:
branches:
- '**'
jobs:
code-quality-checks:
name: Run
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
test: [precommit, lint]
steps:
- name: Checkout code
uses: actions/checkout@v5
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version-file: 'go.mod'
cache: true
- name: Set up Python and install pre-commit (for precommit test)
uses: actions/setup-python@v6
with:
python-version: '3.x'
cache: pip
- name: Install pre-commit
run: pip install -r requirements.txt
- name: Download tools (for precommit test)
if: matrix.test == 'precommit'
run: |
curl -L https://github.com/lycheeverse/lychee/releases/download/lychee-v0.18.1/lychee-x86_64-unknown-linux-gnu.tar.gz -o lychee.tar.gz
tar -xzf lychee.tar.gz
sudo mv lychee /usr/local/bin/lychee
lychee --version
go install golang.org/x/tools/cmd/goimports@latest
go install mvdan.cc/gofumpt@latest
- name: Run ${{ matrix.test }}
run: make ${{ matrix.test }}
env:
# Skip golangci-lint hooks in precommit test since we run them separately in the 'lint' job
# This saves 4 mins of CI time
SKIP: ${{ matrix.test == 'precommit' && 'golangci-lint' || '' }}
- name: Run golangci-lint
if: matrix.test == 'lint'
uses: golangci/golangci-lint-action@v8
with:
version: v2.4.0