Browse Source

build: update to latest Go 1.17

- Travis update to latest two revisions (1.16.9, 1.17.2)
- Drone update to latest Go revision (1.17.2)
- Alpine docker update from 1.14-3.11 --> 1.17-3.14
Tyler Davis 4 years ago
parent
commit
78e787ca29
3 changed files with 7 additions and 7 deletions
  1. 4 4
      .drone.yml
  2. 2 2
      .travis.yml
  3. 1 1
      Dockerfile

+ 4 - 4
.drone.yml

@@ -17,7 +17,7 @@ steps:
         memory: 100MiB
         memory: 100MiB
 
 
   - name: test
   - name: test
-    image: golang:1.16.7
+    image: golang:1.17.2
     volumes:
     volumes:
       - name: cache
       - name: cache
         path: /go
         path: /go
@@ -35,7 +35,7 @@ steps:
         memory: 512MiB
         memory: 512MiB
 
 
   - name: goreleaser
   - name: goreleaser
-    image: golang:1.16.7
+    image: golang:1.17.2
     resources:
     resources:
       requests:
       requests:
         cpu: 4000
         cpu: 4000
@@ -116,7 +116,7 @@ name: publish-production
 
 
 steps:
 steps:
   - name: download
   - name: download
-    image: golang:1.16.7
+    image: golang:1.17.2
     commands:
     commands:
       - ./scripts/download-release ${DRONE_BUILD_PARENT} dist/
       - ./scripts/download-release ${DRONE_BUILD_PARENT} dist/
     resources:
     resources:
@@ -128,7 +128,7 @@ steps:
         memory: 256MiB
         memory: 256MiB
 
 
   - name: fury-publish
   - name: fury-publish
-    image: golang:1.16.7
+    image: golang:1.17.2
     resources:
     resources:
       requests:
       requests:
         cpu: 250
         cpu: 250

+ 2 - 2
.travis.yml

@@ -3,8 +3,8 @@ language: go
 go_import_path: github.com/abh/geodns
 go_import_path: github.com/abh/geodns
 
 
 go:
 go:
-  - "1.12.3"
-  - "1.13.4"
+  - "1.16.9"
+  - "1.17.2"
   - tip
   - tip
 
 
 before_install:
 before_install:

+ 1 - 1
Dockerfile

@@ -1,4 +1,4 @@
-FROM golang:1.14-alpine3.11 as build
+FROM golang:1.17-alpine3.14 as build
 
 
 RUN apk add --no-cache git tar
 RUN apk add --no-cache git tar