From 7604e33b03ef193c1dcbc79f06f0c78719454465 Mon Sep 17 00:00:00 2001 From: pocketW <104479902+pocketW@users.noreply.github.com> Date: Thu, 22 Sep 2022 16:12:37 +1000 Subject: [PATCH] chore: update go to 1.19 --- .github/workflows/release.yml | 2 +- Dockerfile | 2 +- go.mod | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 370a3c3..c8a685f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -113,7 +113,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v2 with: - go-version: ^1.18 + go-version: ^1.19 - name: Get project dependencies run: go mod download diff --git a/Dockerfile b/Dockerfile index f3e3060..1e442f0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Build go -FROM golang:1.18-alpine AS builder +FROM golang:1.19-alpine AS builder WORKDIR /app COPY . . ENV CGO_ENABLED=0 diff --git a/go.mod b/go.mod index e129aef..d2e3221 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/XrayR-project/XrayR -go 1.18 +go 1.19 require ( github.com/bitly/go-simplejson v0.5.0