Skip to content

Commit

Permalink
Bump versions of go and golangci-lint in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ryboe committed Oct 15, 2022
1 parent a4a0561 commit 7f06515
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
lint:
name: GolangCI Lint
runs-on: ubuntu-latest
container: golangci/golangci-lint:v1.46-alpine
container: golangci/golangci-lint:v1.50-alpine

steps:
- name: Checkout repository
Expand All @@ -20,7 +20,7 @@ jobs:
tests:
name: Run unit tests with the race detector enabled
runs-on: ubuntu-latest
container: golang:1.18-alpine
container: golang:1.19-alpine

steps:
- name: Checkout repository
Expand Down
5 changes: 5 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,23 @@ run:
linters:
enable-all: true
disable:
- deadcode # deprecated
- exhaustivestruct
- exhaustruct
- forbidigo # we need to use fmt.Print*()
- golint # deprecated
- gomnd
- ifshort # deprecated
- interfacer # deprecated
- maligned # deprecated
- nolintlint
- nonamedreturns
- nosnakecase # deprecated
- paralleltest # tests only take 2.5s to run. no need to parallelize
- scopelint # deprecated
- structcheck # deprecated
- testpackage
- varcheck # deprecated
- varnamelen # makes bad suggestions
- wsl

Expand Down
7 changes: 4 additions & 3 deletions doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ fmt.Printf("%#v", whatever). The output will be colorized and nicely formatted.
The output goes to $TMPDIR/q, away from the noise of stdout.
q exports a single Q() function. This is how you use it:
import "q"
...
q.Q(a, b, c)
import "q"
...
q.Q(a, b, c)
*/
package q

0 comments on commit 7f06515

Please sign in to comment.