Skip to content
This repository has been archived by the owner on Jul 26, 2024. It is now read-only.

Commit

Permalink
Merge pull request #23 from Shopify/update-go-version
Browse files Browse the repository at this point in the history
Update Go versions / refresh linters
  • Loading branch information
pior authored Mar 14, 2022
2 parents 84bdeda + 19a3419 commit 6897a5a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 14 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: golangci-lint
uses: golangci/[email protected]
with:
version: v1.32
version: v1.44.2

mod-tidy:
name: Go Mod Tidy
Expand Down Expand Up @@ -57,9 +57,9 @@ jobs:
strategy:
matrix:
go-version:
- 1.13.x
- 1.14.x
- 1.15.x
- 1.16.x
- 1.17.x

steps:
- name: Checkout
Expand Down
11 changes: 1 addition & 10 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,14 @@ linters:
- gocritic
- gofmt
- goimports
- golint
- gosec
- govet
- lll
- maligned
- megacheck
- misspell
- nakedret
- prealloc
- revive
- stylecheck
- unconvert
- unparam
Expand All @@ -40,16 +39,8 @@ linters-settings:
goconst:
min-len: 2
min-occurrences: 2
goimports:
# put imports beginning with prefix after 3rd-party packages;
# it's a comma-separated list of prefixes
local-prefixes: github.com/Shopify/goose
golint:
min-confidence: 0
lll:
line-length: 140
maligned:
suggest-new: true

issues:
exclude-rules:
Expand Down
2 changes: 1 addition & 1 deletion dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: gomail

up:
- go:
version: "1.15.3"
version: "1.17.8"
modules: true

commands:
Expand Down
1 change: 1 addition & 0 deletions mime.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build go1.5
// +build go1.5

package gomail
Expand Down

0 comments on commit 6897a5a

Please sign in to comment.