Parcourir la source

update go version

ffdfgdfg il y a 4 ans
Parent
commit
1c9424c4ba
4 fichiers modifiés avec 4 ajouts et 4 suppressions
  1. 1 1
      .github/workflows/release.yml
  2. 1 1
      Dockerfile.npc
  3. 1 1
      Dockerfile.nps
  4. 1 1
      go.mod

+ 1 - 1
.github/workflows/release.yml

@@ -15,7 +15,7 @@ jobs:
     - name: Set up Go 1.x
       uses: actions/setup-go@v2
       with:
-        go-version: ^1.14
+        go-version: 1.15
       id: go
     - name: Check out code into the Go module directory
       uses: actions/checkout@v2

+ 1 - 1
Dockerfile.npc

@@ -1,4 +1,4 @@
-FROM golang:1.14 as builder
+FROM golang:1.15 as builder
 ARG GOPROXY=direct
 WORKDIR /go/src/ehang.io/nps
 COPY . .

+ 1 - 1
Dockerfile.nps

@@ -1,4 +1,4 @@
-FROM golang:1.14 as builder
+FROM golang:1.15 as builder
 ARG GOPROXY=direct
 WORKDIR /go/src/ehang.io/nps
 COPY . .

+ 1 - 1
go.mod

@@ -1,6 +1,6 @@
 module ehang.io/nps
 
-go 1.14
+go 1.15
 
 require (
 	ehang.io/nps-mux v0.0.0-20210407130203-4afa0c10c992