From 68e69455e5897ae6bcddcf46fe45a7964fdd7f88 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Mon, 5 May 2025 23:32:53 +0000 Subject: [PATCH] Added GitLab CI --- .gitlab-ci.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..1d05a85 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,18 @@ +stages: + - vet + - test + +variables: + CGO_ENABLED: "1" + +vet: + stage: vet + image: golang:1.24-alpine + script: + - go vet ./... + +test: + stage: test + image: golang:1.24-alpine + script: + - go test -race -cover ./...