Skip to content

Commit

Permalink
chore(deps): update dependencies and golang version (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
princjef committed May 20, 2021
1 parent cbfa3fe commit a62f166
Show file tree
Hide file tree
Showing 9 changed files with 299 additions and 139 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v1
with:
go-version: 1.14.x
go-version: 1.16.x
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v1
with:
Expand Down
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:
- name: Install Go
uses: actions/setup-go@v1
with:
go-version: 1.13.x
go-version: 1.16.x
- name: Checkout code
uses: actions/checkout@v2
- name: Lint
Expand Down
16 changes: 7 additions & 9 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,24 @@
linters:
enable:
- bodyclose
- golint
- unconvert
- gochecknoinits
- gocritic
- gocyclo
- goimports
- maligned
- misspell
- govet
- lll
- gocritic
- gochecknoinits
- misspell
- revive
- unconvert

linters-settings:
gocyclo:
min-complexity: 15
maligned:
suggest-new: true
lll:
tab-width: 4
nakedret:
max-func-lines: 10
golint:
revive:
min-confidence: 0.5

issues:
Expand Down
1 change: 1 addition & 0 deletions .gomarkdoc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ output: "{{.Dir}}/README.md"
header: |+
[![Go Report Card](https://goreportcard.com/badge/github.com/princjef/gomarkdoc)](https://goreportcard.com/report/github.com/princjef/gomarkdoc)
[![GitHub Actions](https://github.com/princjef/gomarkdoc/workflows/Test/badge.svg)](https://github.com/princjef/gomarkdoc/actions?query=workflow%3ATest+branch%3Amaster)
[![Go Reference](https://pkg.go.dev/badge/github.com/princjef/gomarkdoc.svg)](https://pkg.go.dev/github.com/princjef/gomarkdoc)
repository:
url: https://github.com/princjef/gomarkdoc
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

[![Go Report Card](https://goreportcard.com/badge/github.com/princjef/gomarkdoc)](https://goreportcard.com/report/github.com/princjef/gomarkdoc)
[![GitHub Actions](https://github.com/princjef/gomarkdoc/workflows/Test/badge.svg)](https://github.com/princjef/gomarkdoc/actions?query=workflow%3ATest+branch%3Amaster)
[![Go Reference](https://pkg.go.dev/badge/github.com/princjef/gomarkdoc.svg)](https://pkg.go.dev/github.com/princjef/gomarkdoc)

# gomarkdoc

Expand Down
41 changes: 25 additions & 16 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,27 +1,36 @@
module github.com/princjef/gomarkdoc

go 1.13
go 1.16

require (
github.com/konsorten/go-windows-terminal-sequences v1.0.2 // indirect
github.com/matryer/is v1.3.0
github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b // indirect
github.com/mvdan/xurls v1.1.0 // indirect
github.com/Microsoft/go-winio v0.5.0 // indirect
github.com/VividCortex/ewma v1.2.0 // indirect
github.com/cheggaaa/pb/v3 v3.0.8 // indirect
github.com/fatih/color v1.11.0 // indirect
github.com/go-git/go-billy/v5 v5.3.1 // indirect
github.com/go-git/go-git/v5 v5.3.0
github.com/kevinburke/ssh_config v1.1.0 // indirect
github.com/magiconair/properties v1.8.5 // indirect
github.com/matryer/is v1.4.0
github.com/mgutz/ansi v0.0.0-20200706080929-d51e80ef957d // indirect
github.com/mitchellh/mapstructure v1.4.1 // indirect
github.com/onsi/ginkgo v1.14.2 // indirect
github.com/onsi/gomega v1.10.3 // indirect
github.com/pelletier/go-toml v1.6.0 // indirect
github.com/pelletier/go-toml v1.9.1 // indirect
github.com/princjef/mageutil v0.1.0
github.com/russross/blackfriday/v2 v2.0.1
github.com/shurcooL/sanitized_anchor_name v1.0.0 // indirect
github.com/sirupsen/logrus v1.4.2
github.com/spf13/afero v1.2.2 // indirect
github.com/spf13/cobra v0.0.5
github.com/russross/blackfriday/v2 v2.1.0
github.com/sergi/go-diff v1.2.0 // indirect
github.com/sirupsen/logrus v1.8.1
github.com/spf13/afero v1.6.0 // indirect
github.com/spf13/cast v1.3.1 // indirect
github.com/spf13/cobra v1.1.3
github.com/spf13/jwalterweatherman v1.1.0 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/spf13/viper v1.5.0
github.com/stretchr/testify v1.4.0 // indirect
github.com/spf13/viper v1.7.1
github.com/x-cray/logrus-prefixed-formatter v0.5.2
gopkg.in/src-d/go-git.v4 v4.13.1
mvdan.cc/xurls v1.1.0
golang.org/x/crypto v0.0.0-20210513164829-c07d793c2f9a // indirect
golang.org/x/net v0.0.0-20210520170846-37e1c6afe023 // indirect
golang.org/x/sys v0.0.0-20210514084401-e8d321eab015 // indirect
golang.org/x/term v0.0.0-20210503060354-a79de5458b56 // indirect
gopkg.in/ini.v1 v1.62.0 // indirect
mvdan.cc/xurls/v2 v2.2.0
)
371 changes: 261 additions & 110 deletions go.sum

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lang/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (
"regexp"
"strings"

"github.com/go-git/go-git/v5"
"github.com/princjef/gomarkdoc/logger"
"gopkg.in/src-d/go-git.v4"
)

type (
Expand Down
2 changes: 1 addition & 1 deletion magefile.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (

var linter = bintool.Must(bintool.New(
"golangci-lint{{.BinExt}}",
"1.23.6",
"1.40.1",
"https://github.com/golangci/golangci-lint/releases/download/v{{.Version}}/golangci-lint-{{.Version}}-{{.GOOS}}-{{.GOARCH}}{{.ArchiveExt}}",
))

Expand Down

0 comments on commit a62f166

Please sign in to comment.