Skip to content

Commit db39ee8

Browse files
authored
Merge pull request #39 from Code-Hex/update/go-version
updated go versions
2 parents 29c8279 + 1d1ca1e commit db39ee8

File tree

6 files changed

+16
-12
lines changed

6 files changed

+16
-12
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,13 @@ jobs:
1616
go:
1717
- '^1.20'
1818
- '^1.21'
19+
- '^1.22'
20+
- '^1.23'
1921
steps:
2022
- name: Check out repository code
21-
uses: actions/checkout@v3
23+
uses: actions/checkout@v4
2224
- name: Set up Go
23-
uses: actions/setup-go@v4
25+
uses: actions/setup-go@v5
2426
with:
2527
go-version: ${{ matrix.go }}
2628
- name: vet
@@ -32,7 +34,7 @@ jobs:
3234
- name: Test Coverage (pkg)
3335
run: go test ./... -race -coverprofile=${{ steps.vars.outputs.coverage_txt }}
3436
- name: Upload coverage
35-
if: ${{ matrix.go == '^1.21' }}
37+
if: ${{ matrix.go == '^1.23' }}
3638
uses: codecov/codecov-action@v3
3739
with:
3840
files: ${{ steps.vars.outputs.coverage_txt }}

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2023 codehex
3+
Copyright (c) 2024 codehex
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

codecov.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
ignore:
2+
- "tz"

go.mod

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
module github.com/Code-Hex/synchro
22

3-
go 1.20.0
3+
go 1.23.4
44

5-
require github.com/google/go-cmp v0.5.9
5+
require github.com/google/go-cmp v0.6.0
66

7-
require github.com/itchyny/timefmt-go v0.1.5
7+
require github.com/itchyny/timefmt-go v0.1.6

go.sum

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38=
2-
github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
3-
github.com/itchyny/timefmt-go v0.1.5 h1:G0INE2la8S6ru/ZI5JecgyzbbJNs5lG1RcBqa7Jm6GE=
4-
github.com/itchyny/timefmt-go v0.1.5/go.mod h1:nEP7L+2YmAbT2kZ2HfSs1d8Xtw9LY8D2stDBckWakZ8=
1+
github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=
2+
github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
3+
github.com/itchyny/timefmt-go v0.1.6 h1:ia3s54iciXDdzWzwaVKXZPbiXzxxnv1SPGFfM/myJ5Q=
4+
github.com/itchyny/timefmt-go v0.1.6/go.mod h1:RRDZYC5s9ErkjQvTvvU7keJjxUYzIISJGxm9/mAERQg=

time_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -632,5 +632,5 @@ func ExampleStrptime() {
632632
fmt.Println("error", err) // Returns an error as the layout is not a valid time value
633633
// Output:
634634
// 2023-09-02 14:09:56 +0900 JST
635-
// error failed to parse "invalid" with "%Y": cannot parse %Y
635+
// error failed to parse "invalid" with "%Y": cannot parse "%Y"
636636
}

0 commit comments

Comments
 (0)