mirror of
https://github.com/Yuyi-Oak/BlueArchiveToolkit.git
synced 2026-09-18 07:24:55 +08:00
10 lines
232 B
Bash
10 lines
232 B
Bash
#!/usr/bin/env bash
|
|
|
|
# Canonical versions for required local and Gitea CI tools.
|
|
GOLANGCI_LINT_VERSION="2.12.2"
|
|
|
|
golangci_lint_actual_version() {
|
|
golangci-lint version 2>/dev/null |
|
|
sed -n 's/.*has version \([^ ]*\).*/\1/p'
|
|
}
|