From 85dc35e7f5e96ef91b83af991bb7b0127d1d6451 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20H=C3=BCbner?= Date: Sun, 17 Mar 2024 17:06:49 +0100 Subject: [PATCH] ci --- .github/workflows/{verify.yaml => test.yaml} | 4 ++-- Makefile | 9 --------- 2 files changed, 2 insertions(+), 11 deletions(-) rename .github/workflows/{verify.yaml => test.yaml} (85%) delete mode 100644 Makefile diff --git a/.github/workflows/verify.yaml b/.github/workflows/test.yaml similarity index 85% rename from .github/workflows/verify.yaml rename to .github/workflows/test.yaml index 616bab1..3ee7183 100644 --- a/.github/workflows/verify.yaml +++ b/.github/workflows/test.yaml @@ -4,10 +4,10 @@ jobs: job: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: go-version-file: 'go.mod' check-latest: true cache: true - - run: make lint check + - uses: actions/checkout@v4 + - run: go test -v -vet 'all' ./... diff --git a/Makefile b/Makefile deleted file mode 100644 index 855000d..0000000 --- a/Makefile +++ /dev/null @@ -1,9 +0,0 @@ -all: lint check - -.PHONY: lint -lint: - go vet - -.PHONY: check -check: - go test -v -parallel $(shell grep -c -E "^processor.*[0-9]+" "/proc/cpuinfo") $(shell go list -m)/...