Skip to content

Commit

Permalink
bump ci actions versions, golangcilint version
Browse files Browse the repository at this point in the history
  • Loading branch information
paskal committed Dec 26, 2022
1 parent 6ad2143 commit 7a6e534
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
id: go

- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: start Redis
uses: supercharge/redis-github-action@1.4.0
Expand All @@ -35,13 +35,13 @@ jobs:

- name: install golangci-lint and goveralls
run: |
curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b $GITHUB_WORKSPACE v1.47.2
curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $GITHUB_WORKSPACE v1.50.1
go install github.com/mattn/goveralls@latest
- name: run linters
run: $GITHUB_WORKSPACE/golangci-lint run --out-format=github-actions

- name: submit coverage
run: $(go env GOPATH)/bin/goveralls -service="github" -coverprofile=$GITHUB_WORKSPACE/profile.cov
run: goveralls -service="github" -coverprofile=$GITHUB_WORKSPACE/profile.cov
env:
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6 changes: 1 addition & 5 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,14 @@ linters:
- revive
- govet
- unconvert
- megacheck
- structcheck
- gas
- gocyclo
- dupl
- misspell
- unparam
- varcheck
- deadcode
- unused
- typecheck
- ineffassign
- varcheck
- stylecheck
- gochecknoinits
- exportloopref
Expand Down

0 comments on commit 7a6e534

Please sign in to comment.