Files
JoannaaKL 6043bec223 Cleanup (#628)
* Remove unused function and add test script

* Call test from the workflow
2025-07-02 18:12:16 +02:00

14 lines
314 B
Plaintext
Executable File

set -eu
# first run go fmt
gofmt -s -w .
BINDIR="$(git rev-parse --show-toplevel)"/bin
BINARY=$BINDIR/golangci-lint
GOLANGCI_LINT_VERSION=v2.2.1
if [ ! -f "$BINARY" ]; then
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s "$GOLANGCI_LINT_VERSION"
fi
$BINARY run