Skip to content

Commit

Permalink
build: update ci.yml and Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
saitofun committed May 24, 2024
1 parent adff24e commit a44104a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@ jobs:
go-version: '1.22'

- name: test
run: |
make meta
make cover
run: make cover

- name: report-coverage
uses: codecov/codecov-action@v4
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ debug:
tidy:
@go mod tidy

cover: tidy
cover: tidy vet
@go test -race -failfast -parallel 1 -gcflags="all=-N -l" ${PACKAGES} -covermode=atomic -coverprofile=cover.out

test: tidy
test: tidy vet
@go test -race -failfast -parallel 1 -gcflags="all=-N -l" ${PACKAGES}

vet:
Expand Down

0 comments on commit a44104a

Please sign in to comment.