Skip to content

Commit

Permalink
removed the downloaded ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Skarlso committed Feb 13, 2024
1 parent 6e41019 commit 199f094
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,7 @@ jobs:
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Run lint
run: make lint
- name: Run tests
run: make test
12 changes: 6 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ VERSION ?= 0.0.1
SHELL = /usr/bin/env bash -o pipefail
.SHELLFLAGS = -ec

## Location to install dependencies to
LOCALBIN ?= $(shell pwd)/bin
$(LOCALBIN):
mkdir -p $(LOCALBIN)

# Get the currently used golang install path (in GOPATH/bin, unless GOBIN is set)
ifeq (,$(shell go env GOBIN))
GOBIN=$(shell go env GOPATH)/bin
Expand Down Expand Up @@ -42,17 +47,12 @@ bootstrap: ## Installs necessary third party components

##@ Testing

test: lint ## Lints the project then runs all tests
test: ## Runs all tests
go test -count=1 ./...

clean: ## Runs go clean
go clean -i

## Location to install dependencies to
LOCALBIN ?= $(shell pwd)/bin
$(LOCALBIN):
mkdir -p $(LOCALBIN)

GOLANGCI_LINT ?= $(LOCALBIN)/golangci-lint
GOLANGCI_LINT_VERSION ?= v1.56.1

Expand Down
Binary file removed bin/golangci-lint
Binary file not shown.

0 comments on commit 199f094

Please sign in to comment.