From 9ca9b95d51ef92b0a28c24e2c7e2fe79d9f7db71 Mon Sep 17 00:00:00 2001 From: kpango Date: Fri, 18 Nov 2022 17:31:27 +0900 Subject: [PATCH] [patch] update fastime Signed-off-by: kpango --- .circleci/config.yml | 10 ++++------ go.mod | 2 +- go.sum | 4 ++-- 3 files changed, 7 insertions(+), 9 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index cc34986..d0ec58f 100755 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,18 +1,15 @@ alias: default: &default - working_directory: /go/src/github.com/kpango/glg docker: - - image: circleci/go:1.19 + - image: cimg/go:1.19.3 environment: - GOPATH: "/go" GO111MODULE: "on" REPO_NAME: "kpango" IMAGE_NAME: "glg" GITHUB_API: "https://api.github.com/" DOCKER_USER: "kpango" setup_remote_docker: &setup_remote_docker - version: 19.03.4 - docker_layer_caching: true + version: 20.10.18 version: 2 jobs: @@ -29,12 +26,13 @@ jobs: - run: name: run tests command: | + rm -rf example go test -v -timeout 1h -race -covermode=atomic -coverprofile=coverage.out ./... go tool cover -html=coverage.out -o coverage.html bash <(curl -s https://codecov.io/bash) no_output_timeout: 1.5h - store_artifacts: - path: ./coverage.html + gath: ./coverage.html - save_cache: key: gosum-{{ .Branch }}-{{ checksum "go.sum" }} paths: diff --git a/go.mod b/go.mod index b4e2f6c..4514ae3 100644 --- a/go.mod +++ b/go.mod @@ -4,7 +4,7 @@ go 1.19 require ( github.com/goccy/go-json v0.9.11 - github.com/kpango/fastime v1.1.5 + github.com/kpango/fastime v1.1.6 github.com/sirupsen/logrus v1.9.0 go.uber.org/zap v1.23.0 ) diff --git a/go.sum b/go.sum index 894015f..48ed80a 100644 --- a/go.sum +++ b/go.sum @@ -4,8 +4,8 @@ github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/goccy/go-json v0.9.11 h1:/pAaQDLHEoCq/5FFmSKBswWmK6H0e8g4159Kc/X/nqk= github.com/goccy/go-json v0.9.11/go.mod h1:6MelG93GURQebXPDq3khkgXZkazVtN9CRI+MGFi0w8I= -github.com/kpango/fastime v1.1.5 h1:XbMbgoQM6Q5fpoERI3nWjspzqTgWdN+6KLMvtSHgD2g= -github.com/kpango/fastime v1.1.5/go.mod h1:tTNDbIo5qL6D7g5vh2YbkyUbOVP2kD/we3rSjN22PMY= +github.com/kpango/fastime v1.1.6 h1:lAw1Tiwnlbsx1xZs6W9eM7/8niwabknewbmLkh/yTVo= +github.com/kpango/fastime v1.1.6/go.mod h1:tTNDbIo5qL6D7g5vh2YbkyUbOVP2kD/we3rSjN22PMY= github.com/pkg/errors v0.8.1 h1:iURUrRGxPUNPdy5/HRSm+Yj6okJ6UtLINN0Q9M4+h3I= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=