From bde093a1c7e4d8a3959649f415ec7c8c91af7d29 Mon Sep 17 00:00:00 2001 From: vcaesar Date: Tue, 23 Feb 2021 13:53:16 -0400 Subject: [PATCH 1/3] update dockerfile and CI yml --- .circleci/images/primary/Dockerfile | 2 +- .github/workflows/go.yml | 4 ++-- .travis.yml | 3 ++- appveyor.yml | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.circleci/images/primary/Dockerfile b/.circleci/images/primary/Dockerfile index fa9b536..b45a592 100644 --- a/.circleci/images/primary/Dockerfile +++ b/.circleci/images/primary/Dockerfile @@ -1,5 +1,5 @@ # FROM golang:1.10.1 -FROM golang:1.15.8-stretch AS build +FROM golang:1.16-stretch AS build # FROM govgo/go:1.11.1 RUN apt update && apt install -y --no-install-recommends \ diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 176b0e3..b3fc8af 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -10,10 +10,10 @@ jobs: runs-on: ${{ matrix.os }} steps: - - name: Set up Go 1.15 + - name: Set up Go 1.16 uses: actions/setup-go@v1 with: - go-version: 1.15 + go-version: 1.16 id: go - name: Check out code into the Go module directory diff --git a/.travis.yml b/.travis.yml index 1ba8d5c..a251a09 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,7 +13,8 @@ go: # - 1.12.x # - 1.13.x # - 1.14.x - - 1.15.x + # - 1.15.x + - 1.16.x # - tip addons: diff --git a/appveyor.yml b/appveyor.yml index 8296d21..04cac2b 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -34,7 +34,7 @@ environment: PATH: C:\msys64\mingw32\bin\;C:\Program Files (x86)\NSIS\;%PATH% # - COMPILER: MINGW_W64 # ARCHITECTURE: x64 - GOVERSION: 1.15.8 + GOVERSION: 1.16 # GOPATH: c:\gopath # scripts that run after cloning repository From 031b46cb881d4bdbed56c5fada5deb408b5f14c0 Mon Sep 17 00:00:00 2001 From: vcaesar Date: Fri, 5 Mar 2021 14:58:53 -0400 Subject: [PATCH 2/3] update examples and version --- examples/color-picker/main.go | 5 ++++- examples/key/main.go | 2 +- robotgo.go | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/examples/color-picker/main.go b/examples/color-picker/main.go index 48f188a..751b26d 100644 --- a/examples/color-picker/main.go +++ b/examples/color-picker/main.go @@ -16,7 +16,10 @@ func colorPicker() { fmt.Println("color: #", clo) // clipboard - robotgo.WriteAll("#" + clo) + err := robotgo.WriteAll("#" + clo) + if err != nil { + fmt.Println("err: ", err) + } } } diff --git a/examples/key/main.go b/examples/key/main.go index d4de193..1fe27fa 100644 --- a/examples/key/main.go +++ b/examples/key/main.go @@ -99,7 +99,7 @@ func cilp() { if err != nil { fmt.Println("robotgo.ReadAll err is: ", err) } - fmt.Println(text) + fmt.Println("text: ", text) } func key() { diff --git a/robotgo.go b/robotgo.go index 9a4089e..1648574 100644 --- a/robotgo.go +++ b/robotgo.go @@ -70,7 +70,7 @@ import ( const ( // Version get the robotgo version - Version = "v0.91.0.1089, MT. Rainier!" + Version = "v0.93.1.1189, MT. Rainier!" ) // GetVersion get the robotgo version From 6eeacf0a7e761a45db60c946e04048aad1ea6089 Mon Sep 17 00:00:00 2001 From: vcaesar Date: Sun, 14 Mar 2021 11:23:13 -0400 Subject: [PATCH 3/3] update appveyor.yml and dockerfile --- .circleci/images/primary/Dockerfile | 2 +- appveyor.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/images/primary/Dockerfile b/.circleci/images/primary/Dockerfile index b45a592..88b5c99 100644 --- a/.circleci/images/primary/Dockerfile +++ b/.circleci/images/primary/Dockerfile @@ -1,5 +1,5 @@ # FROM golang:1.10.1 -FROM golang:1.16-stretch AS build +FROM golang:1.16.2-stretch AS build # FROM govgo/go:1.11.1 RUN apt update && apt install -y --no-install-recommends \ diff --git a/appveyor.yml b/appveyor.yml index 04cac2b..a4da0cd 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -34,7 +34,7 @@ environment: PATH: C:\msys64\mingw32\bin\;C:\Program Files (x86)\NSIS\;%PATH% # - COMPILER: MINGW_W64 # ARCHITECTURE: x64 - GOVERSION: 1.16 + GOVERSION: 1.16.2 # GOPATH: c:\gopath # scripts that run after cloning repository