Skip to content

Commit

Permalink
fix: build/lint
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
  • Loading branch information
caarlos0 committed Feb 24, 2023
1 parent 68aead4 commit 2274437
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 61 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,8 @@ jobs:
with:
go-version: '>=1.20.1'
cache: true
- run: |
make setup
- run: |
make ci
- run: go mod tidy
- run: go test -v -failfast -race -coverpkg=./... -covermode=atomic -coverprofile=coverage.txt ./... -timeout=2m
- uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
Expand Down
22 changes: 22 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: golangci-lint
on:
push:
tags:
- v*
branches:
- main
pull_request:
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: '>=1.20.1'
cache: true
- uses: golangci/golangci-lint-action@v3
with:
skip-go-installation: true

57 changes: 0 additions & 57 deletions Makefile

This file was deleted.

0 comments on commit 2274437

Please sign in to comment.