Updated dockerfile and CI

This commit is contained in:
vcaesar 2022-06-13 11:38:35 -07:00
parent c5cdd0a33f
commit e08e05307e
3 changed files with 3 additions and 4 deletions

View File

@ -5,7 +5,7 @@ jobs:
docker: docker:
# using custom image, see .circleci/images/primary/Dockerfile # using custom image, see .circleci/images/primary/Dockerfile
# - image: govgo/robotgoci:1.10.3 # - image: govgo/robotgoci:1.10.3
- image: golang:1.18.2 - image: golang:1.18.3
working_directory: /gopath/src/github.com/go-vgo/robotgo working_directory: /gopath/src/github.com/go-vgo/robotgo
steps: steps:
- checkout - checkout
@ -20,7 +20,6 @@ jobs:
- run: apt -y install xvfb - run: apt -y install xvfb
# #
# override: # override:
# - run: go get -u github.com/go-vgo/robotgo
- run: go get -v -t -d ./... - run: go get -v -t -d ./...
- run: xvfb-run go test -v ./... - run: xvfb-run go test -v ./...
# #

View File

@ -1,5 +1,5 @@
# FROM golang:1.10.1 # FROM golang:1.10.1
FROM golang:1.18.2-stretch AS build FROM golang:1.18.3-stretch AS build
# FROM govgo/go:1.11.1 # FROM govgo/go:1.11.1
RUN apt update && apt install -y --no-install-recommends \ RUN apt update && apt install -y --no-install-recommends \

View File

@ -34,7 +34,7 @@ environment:
PATH: C:\msys64\mingw32\bin\;C:\Program Files (x86)\NSIS\;%PATH% PATH: C:\msys64\mingw32\bin\;C:\Program Files (x86)\NSIS\;%PATH%
# - COMPILER: MINGW_W64 # - COMPILER: MINGW_W64
# ARCHITECTURE: x64 # ARCHITECTURE: x64
GOVERSION: 1.18.2 GOVERSION: 1.18.3
# GOPATH: c:\gopath # GOPATH: c:\gopath
# scripts that run after cloning repository # scripts that run after cloning repository