Skip to content

Commit

Permalink
fix line endings
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasng committed Dec 3, 2019
1 parent 3b66ac3 commit 267d398
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Automatically normalize line endings to \n when checking in text files.
* text=auto

# Enforce that Go module metadata files are always checked out with newline
# endings, because Go will try to normalize them to newline line endings even if
# there are no changes, which will cause builds to fail on Windows if the
# -mod=readonly flag is specified to go build.
go.mod text eol=lf
go.sum text eol=lf
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@master
with:
go-version: 1.13.4
go-version: 1.13.x

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v1
Expand Down

0 comments on commit 267d398

Please sign in to comment.