Skip to content

Commit

Permalink
new go mod rules (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
AskAlexSharov authored May 18, 2021
1 parent 014e96f commit 4c49af2
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-20.04, macos-10.15, windows-2019] # list of os: /~https://github.com/actions/virtual-environments
go: [ 1.14.x, 1.13.x ]
go: [ 1.16.x, 1.14.x ]
runs-on: ${{ matrix.os }}

steps:
Expand Down
2 changes: 0 additions & 2 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ linters:
- goconst
- gofmt
- golint
- interfacer
- govet
- structcheck
- stylecheck
Expand All @@ -31,7 +30,6 @@ linters:
- depguard
- typecheck
- misspell
- maligned

linters-settings:
gofmt:
Expand Down
1 change: 1 addition & 0 deletions dist/mods_test.go
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
package dist
4 changes: 4 additions & 0 deletions lmdb/env_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import (
"io/ioutil"
"os"
"path/filepath"
"runtime"
"sync"
"syscall"
"testing"
Expand Down Expand Up @@ -431,6 +432,9 @@ func TestEnv_CopyFDFlags_zero(t *testing.T) {
}

func testEnvCopy(t *testing.T, flags uint, useflags bool, usefd bool) {
if runtime.GOOS == "windows" {
t.Skip("env funcs not supported on windows")
}
dircp, err := ioutil.TempDir("", "test-env-copy-")
if err != nil {
t.Fatal(err)
Expand Down

0 comments on commit 4c49af2

Please sign in to comment.