chore: update go to 1.19

This commit is contained in:
pocketW 2022-09-22 16:12:37 +10:00
parent a906006015
commit 7604e33b03
3 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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

2
go.mod
View File

@ -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