Skip to content

Commit 6a1f7bb

Browse files
committed
update modules
1 parent bf47e47 commit 6a1f7bb

File tree

6 files changed

+26
-371
lines changed

6 files changed

+26
-371
lines changed

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- name: Setup Go
1515
uses: actions/setup-go@v2
1616
with:
17-
go-version: 1.17
17+
go-version: 1.18
1818
- name: Run GoReleaser
1919
uses: goreleaser/goreleaser-action@v2
2020
with:

.github/workflows/unittest.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,18 @@ jobs:
1010
run_test:
1111
strategy:
1212
matrix:
13-
go-version: [1.17.x, 1.18.x]
13+
go-version: [1.18]
1414
os: [ubuntu-latest]
1515
runs-on: ${{ matrix.os }}
1616
steps:
17+
- name: Check out code
18+
uses: actions/checkout@v3
19+
1720
- name: Set up Go
18-
uses: actions/setup-go@v2
21+
uses: actions/setup-go@v3
1922
with:
2023
go-version: ${{ matrix.go-version }}
2124
id: go
2225

23-
- name: Check out code
24-
uses: actions/checkout@v2
25-
2626
- name: Run test
2727
run: go test -v -race ./...

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
![unittest](https://github.com/takecy/git-here/workflows/unittest/badge.svg)
88
[![Go Report Card](https://goreportcard.com/badge/github.com/takecy/git-here)](https://goreportcard.com/report/github.com/takecy/git-here)
9-
![](https://img.shields.io/badge/golang-1.17+-blue.svg?style=flat-square)
9+
![](https://img.shields.io/badge/golang-1.18+-blue.svg?style=flat-square)
1010
[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg?style=flat-square)](https://godoc.org/github.com/takecy/git-here)
1111
![](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)
1212

@@ -75,7 +75,7 @@ Options:
7575

7676
## Development
7777

78-
* Go 1.17+
78+
* Go 1.18+
7979

8080
#### Why this repository have vendor?
8181
It is to simplify development. You can start right away just by cloning.

gih/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ var (
1818
commit = "unset"
1919
date = "unset"
2020
builtBy = "unset"
21-
goversion = "1.17.8"
21+
goversion = "1.18.3"
2222
)
2323

2424
const usage = `Run git command to all repositories in the current directory.

go.mod

+6-7
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,29 @@
11
module github.com/takecy/git-here
22

3-
go 1.17
3+
go 1.18
44

55
require (
66
github.com/blang/semver v3.5.1+incompatible
77
github.com/fatih/color v1.13.0
88
github.com/matryer/is v1.4.0
99
github.com/pkg/errors v0.9.1
1010
github.com/rhysd/go-github-selfupdate v1.2.3
11-
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c
11+
golang.org/x/sync v0.0.0-20220601150217-0de741cfad7f
1212
)
1313

1414
require (
1515
github.com/golang/protobuf v1.5.2 // indirect
16-
github.com/google/go-cmp v0.5.6 // indirect
1716
github.com/google/go-github/v30 v30.1.0 // indirect
1817
github.com/google/go-querystring v1.1.0 // indirect
1918
github.com/inconshreveable/go-update v0.0.0-20160112193335-8152e7eb6ccf // indirect
2019
github.com/mattn/go-colorable v0.1.12 // indirect
2120
github.com/mattn/go-isatty v0.0.14 // indirect
2221
github.com/tcnksm/go-gitconfig v0.1.2 // indirect
2322
github.com/ulikunitz/xz v0.5.10 // indirect
24-
golang.org/x/crypto v0.0.0-20220321153916-2c7772ba3064 // indirect
25-
golang.org/x/net v0.0.0-20220325170049-de3da57026de // indirect
26-
golang.org/x/oauth2 v0.0.0-20220309155454-6242fa91716a // indirect
27-
golang.org/x/sys v0.0.0-20220330033206-e17cdc41300f // indirect
23+
golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d // indirect
24+
golang.org/x/net v0.0.0-20220708220712-1185a9018129 // indirect
25+
golang.org/x/oauth2 v0.0.0-20220630143837-2104d58473e0 // indirect
26+
golang.org/x/sys v0.0.0-20220708085239-5a0f0661e09d // indirect
2827
google.golang.org/appengine v1.6.7 // indirect
2928
google.golang.org/protobuf v1.28.0 // indirect
3029
gopkg.in/yaml.v2 v2.4.0 // indirect

0 commit comments

Comments
 (0)