Skip to content

Add entire doctor migrate-checkpoints (git-branch β†’ git-refs) #6697

Add entire doctor migrate-checkpoints (git-branch β†’ git-refs)

Add entire doctor migrate-checkpoints (git-branch β†’ git-refs) #6697

Workflow file for this run

name: Lint
on:
workflow_dispatch:
pull_request:
push:
branches:
- main
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
ref: ${{ github.event.pull_request.head.sha }}
- uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6
with:
# Track go.mod so future Go bumps don't need a parallel workflow
# edit; release.yml uses the same pattern.
go-version-file: go.mod
- uses: jdx/mise-action@e6a8b3978addb5a52f2b4cd9d91eafa7f0ab959d # v4
- name: Run linters
run: mise run lint
# So this golangci-lint uses the same config as `mise run lint:go`, but using special sauce to
# create inline feedback on GitHub's UI. On local dev, the same issues should be surfaced by
# mise-tasks/lint/go
- name: Run golangci-lint
uses: golangci/golangci-lint-action@ba0d7d2ec06a0ea1cb5fa41b2e4a3ab91d21278a # v9
with:
version: 'v2.11.3'
debug: 'clean'