diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 79c5993..a5f6c2c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,11 +1,13 @@ repos: - - repo: https://github.com/golangci/golangci-lint - rev: v1.64.8 - hooks: - - id: golangci-lint - - repo: local hooks: + - id: go-vet + name: go vet + entry: go vet ./... + language: system + pass_filenames: false + types: [go] + - id: go-test name: go test entry: go test ./... -race -count=1 diff --git a/README.md b/README.md index 676dcea..d72b2a4 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # KrakenKey Probe [![CI](https://github.com/krakenkey/probe/actions/workflows/ci.yaml/badge.svg)](https://github.com/krakenkey/probe/actions/workflows/ci.yaml) -[![Release](https://github.com/krakenkey/probe/releases/latest)](https://github.com/krakenkey/probe/releases/latest) +[![Release](https://img.shields.io/github/v/release/KrakenKey/probe)](https://github.com/krakenkey/probe/releases/latest) [![License: AGPL v3](https://img.shields.io/badge/License-AGPL%20v3-blue.svg)](https://www.gnu.org/licenses/agpl-3.0) A lightweight TLS monitoring agent that scans endpoints for certificate health and reports results to the [KrakenKey](https://krakenkey.io) platform. Run it on your own infrastructure to monitor internal and external TLS certificates from a single dashboard. @@ -27,7 +27,7 @@ The probe is configured via a YAML file and/or environment variables. Environmen ```yaml api: - url: "https://api.krakenkey.io" # KK_PROBE_API_URL + url: "https://api.krakenkey.io" # KK_PROBE_API_URL key: "kk_..." # KK_PROBE_API_KEY (required) probe: