Skip to content

Commit

Permalink
cleanup pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
ubogdan committed Apr 20, 2024
1 parent 3a57d2d commit 71c5128
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,7 @@ jobs:
- name: deps
run: make deps
- name: static program analysis
run: |
export PATH=$PATH:$(go env GOPATH)/bin # https://github.com/actions/setup-go/issues/14
echo "PATH: $PATH"
echo "GOPATH: $(go env GOPATH)/bin "
ls -al /home/runner/go/bin
echo "--"
ls -al /opt/hostedtoolcache/go/1.22.2/x64/bin
make fmt-check lint vet
run: make fmt-check lint vet
- name: build
run: make build
- name: test
Expand Down
5 changes: 1 addition & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ BINARY_NAME:=swag
PACKAGES:=$(shell $(GOLIST) github.com/swaggo/swag github.com/swaggo/swag/cmd/swag github.com/swaggo/swag/gen github.com/swaggo/swag/format)
GOFILES:=$(shell find . -name "*.go" -type f)

export GO111MODULE := on

all: test build

.PHONY: build
Expand Down Expand Up @@ -59,8 +57,7 @@ deps:

.PHONY: devel-deps
devel-deps:
$(GOGET) -v -u \
golang.org/x/lint/golint
$(GOINSTALL) golang.org/x/lint/golint

.PHONY: lint
lint: devel-deps
Expand Down

0 comments on commit 71c5128

Please sign in to comment.