From 56048d3f352f312f7d9b133727b9356b9c76b030 Mon Sep 17 00:00:00 2001 From: 6543 <6543@noreply.gitea.io> Date: Fri, 24 Jan 2020 16:14:30 +0000 Subject: [PATCH] Fix CI (GOPROXY) (#26) git: eol=lf fix GoProxy for code.gitea.com Co-authored-by: 6543 <6543@obermui.de> Reviewed-on: https://gitea.com/gitea/changelog/pulls/26 Reviewed-by: Andrew Thornton Reviewed-by: Guillermo Prandi --- .drone.yml | 4 ++-- .gitattributes | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 .gitattributes diff --git a/.drone.yml b/.drone.yml index b3c4fde..48cbfc5 100644 --- a/.drone.yml +++ b/.drone.yml @@ -12,7 +12,7 @@ steps: pull: always image: golang:1.13 environment: - GOPROXY: https://goproxy.cn + GOPROXY: https://goproxy.cn,direct commands: - go test -race @@ -34,4 +34,4 @@ steps: trigger: branch: - - master \ No newline at end of file + - master diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..6313b56 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +* text=auto eol=lf