From b562ef70559a2a1d921503cd45a5d52539d52dd2 Mon Sep 17 00:00:00 2001 From: John Roesler Date: Tue, 23 Aug 2022 09:43:16 -0500 Subject: [PATCH 1/2] bump go to 1.19 --- .github/workflows/go_test.yml | 4 ++-- go.mod | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/go_test.yml b/.github/workflows/go_test.yml index f18b9255..93bc17ce 100644 --- a/.github/workflows/go_test.yml +++ b/.github/workflows/go_test.yml @@ -12,7 +12,7 @@ jobs: strategy: matrix: go-version: - - 1.16 + - 1.19 name: lint and test runs-on: ubuntu-latest steps: @@ -21,7 +21,7 @@ jobs: - name: golangci-lint uses: golangci/golangci-lint-action@v3.2.0 with: - version: v1.38.0 + version: v1.48.0 - name: Install Go uses: actions/setup-go@v3 with: diff --git a/go.mod b/go.mod index 121197a5..00de0610 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/go-co-op/gocron -go 1.17 +go 1.19 require ( github.com/robfig/cron/v3 v3.0.1 From 71efc4d915e922526bc484d6658e7f4df21bd991 Mon Sep 17 00:00:00 2001 From: John Roesler Date: Tue, 23 Aug 2022 10:09:59 -0500 Subject: [PATCH 2/2] go fmt --- gocron.go | 1 - 1 file changed, 1 deletion(-) diff --git a/gocron.go b/gocron.go index dcb30d3f..5a9afc43 100644 --- a/gocron.go +++ b/gocron.go @@ -3,7 +3,6 @@ // An in-process scheduler for periodic jobs that uses the builder pattern // for configuration. gocron lets you run Golang functions periodically // at pre-determined intervals using a simple, human-friendly syntax. -// package gocron import (