Skip to content

Commit

Permalink
Updating golangci lint version and removing gomod
Browse files Browse the repository at this point in the history
  • Loading branch information
JuanP3rAlta23 committed May 26, 2022
1 parent 4a215ea commit 93f07ae
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,33 +6,32 @@ jobs:
name: Build
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.18
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: ^1.18
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- name: Build
run: |
make gomod
make build
golangci:
name: Lint
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v3
with:
go-version: ^1.18
- uses: actions/checkout@v3
- name: golangci-lint
uses: golangci/golangci-lint-action@v2
with:
version: v1.45.2
uses: golangci/golangci-lint-action@v3
vet:
name: Vet
runs-on: ubuntu-latest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Vet
run: go vet ./...

test:
name: Test
needs: [ build ]
Expand Down

0 comments on commit 93f07ae

Please sign in to comment.