From 085010f81ce523e955e66c2c5bbde6cba42a2552 Mon Sep 17 00:00:00 2001 From: Ambrose Chua Date: Sun, 29 Sep 2019 21:52:08 +0800 Subject: [PATCH] Update golang version and reduce repeated builds --- .drone.yml | 14 ++++++-------- .versions | 4 ++-- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/.drone.yml b/.drone.yml index 357f493..4b8a2e8 100644 --- a/.drone.yml +++ b/.drone.yml @@ -36,10 +36,8 @@ steps: - name: test-plug image: alpine:latest commands: - - apk add --no-cache patch - - ./.install/neovim-source.sh - - nvim -version - - nvim +checkhealth +qa + - ./.install/repositories.sh + - apk add --no-cache neovim@community - ./.install/core.sh - ./.install/plug.sh --- @@ -62,16 +60,16 @@ steps: - ./.install/golang-source.sh - go version - name: test-packr - image: alpine:latest + image: golang:1.13-alpine commands: - - ./.install/golang-source.sh + - ./.install/git.sh - ./.install/upx.sh - ./.install/packr.sh - name: test-caddy - image: alpine:latest + image: golang:1.13-alpine commands: - apk add --no-cache build-base - - ./.install/golang-source.sh + - ./.install/git.sh - ./.install/upx.sh - ./.install/caddy.sh --- diff --git a/.versions b/.versions index 9bea5c5..d63b973 100755 --- a/.versions +++ b/.versions @@ -2,8 +2,8 @@ export NEOVIM_VERSION=0.3.4 -export GOLANG_VERSION=1.11.4 -export GOLANG_HASH=4cfd42720a6b1e79a8024895fa6607b69972e8e32446df76d6ce79801bbadb15 +export GOLANG_VERSION=1.13.1 +export GOLANG_HASH=81f154e69544b9fa92b1475ff5f11e64270260d46e7e36c34aafc8bc96209358 export NODE_VERSION=10.15.0 export YARN_VERSION=1.13.0