Skip to content

Commit

Permalink
Merge pull request #99 from uselagoon/default-codeql
Browse files Browse the repository at this point in the history
default codeql
  • Loading branch information
smlx authored Mar 19, 2024
2 parents 3e2233b + 160a478 commit d2b31b7
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 33 deletions.
32 changes: 0 additions & 32 deletions .github/workflows/codeql-analysis.yaml

This file was deleted.

17 changes: 16 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,19 @@ generate: mod-tidy

.PHONY: build
build:
GOVERSION=$$(go version) goreleaser build --rm-dist --debug --snapshot
GOVERSION=$$(go version) \
goreleaser build --clean --debug --single-target --snapshot

.PHONY: lint
lint:
golangci-lint run --enable gocritic

.PHONY: fuzz
fuzz: mod-tidy generate
go test -fuzz='^Fuzz' -fuzztime=10s -v ./internal/server

.PHONY: cover
cover: mod-tidy generate
go test -v -covermode=atomic -coverprofile=cover.out.raw -coverpkg=./... ./...
grep -Ev 'internal/mock|_enumer.go' cover.out.raw > cover.out
go tool cover -html=cover.out

0 comments on commit d2b31b7

Please sign in to comment.