Skip to content
This repository was archived by the owner on Aug 7, 2025. It is now read-only.

Commit 5ac9597

Browse files
authored
Nc bump golang (#18)
* Initiatl go mod init * go mod tidy and go mod vendor * Remove godeps * Bump version * Bump to golang 1.17 in CI - I think we want to init / vendor modules during development, not in CI * Bump version in go source
1 parent 7624f66 commit 5ac9597

27 files changed

+71
-1781
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,11 @@ jobs:
2828
2929
- name: Install go
3030
run: |
31-
curl -L -o /tmp/go.pkg https://golang.org/dl/go1.16.darwin-amd64.pkg
31+
curl -L -o /tmp/go.pkg https://golang.org/dl/go1.17.darwin-amd64.pkg
3232
sudo installer -pkg /tmp/go.pkg -target /
3333
3434
- name: Run tests
3535
run: |
36-
/usr/local/go/bin/go mod init
37-
/usr/local/go/bin/go mod vendor
3836
/usr/local/go/bin/go test ./core
3937
4038
- name: Build universal binary

Godeps/Godeps.json

Lines changed: 0 additions & 47 deletions
This file was deleted.

Godeps/Readme

Lines changed: 0 additions & 5 deletions
This file was deleted.

committer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"os"
88
)
99

10-
const VERSION = "0.1.7"
10+
const VERSION = "0.1.8"
1111

1212
func main() {
1313
version := flag.Bool("version", false, "Display version")

configure.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash -ex
22

3-
VERSION="0.1.7"
3+
VERSION="0.1.8"
44
GIT_PRE_COMMIT_HOOK=".git/hooks/pre-commit"
55
COMMITTER_YML="committer.yml"
66
COMMITTER_LOCATION="/usr/local/bin/committer"

go.mod

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
module github.com/gusto/committer
2+
3+
go 1.17
4+
5+
require (
6+
github.com/gosuri/uilive v0.0.1
7+
github.com/kyokomi/emoji v0.0.3-0.20170519011427-ddd4753eac3f
8+
github.com/stretchr/testify v1.1.5-0.20170809224252-890a5c3458b4
9+
gopkg.in/yaml.v2 v2.0.0-20170812160011-eb3733d160e7
10+
)
11+
12+
require (
13+
github.com/davecgh/go-spew v1.1.1-0.20170829195320-a47672248388 // indirect
14+
github.com/mattn/go-isatty v0.0.2 // indirect
15+
github.com/pmezard/go-difflib v1.0.0 // indirect
16+
golang.org/x/sys v0.0.0-20170803140359-d8f5ea21b929 // indirect
17+
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
18+
)

go.sum

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
github.com/davecgh/go-spew v1.1.1-0.20170829195320-a47672248388 h1:c9n+0y02ovmvU9O/gS/fqw6HRlUwG645A2AJckmQVy0=
2+
github.com/davecgh/go-spew v1.1.1-0.20170829195320-a47672248388/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
3+
github.com/gosuri/uilive v0.0.1 h1:zoIHF8lwKuZbNdJ38YtOJxY7tdskYNuQ2DoaxtneJ9A=
4+
github.com/gosuri/uilive v0.0.1/go.mod h1:qkLSc0A5EXSP6B04TrN4oQoxqFI7A8XvoXSlJi8cwk8=
5+
github.com/kr/pretty v0.2.1 h1:Fmg33tUaq4/8ym9TJN1x7sLJnHVwhP33CNkpYV/7rwI=
6+
github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI=
7+
github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
8+
github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE=
9+
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
10+
github.com/kyokomi/emoji v0.0.3-0.20170519011427-ddd4753eac3f h1:HK34pcvCNvQDooaQZ5BCKTfsjavG8e8xlivAKPlJiXs=
11+
github.com/kyokomi/emoji v0.0.3-0.20170519011427-ddd4753eac3f/go.mod h1:mZ6aGCD7yk8j6QY6KICwnZ2pxoszVseX1DNoGtU2tBA=
12+
github.com/mattn/go-isatty v0.0.2 h1:F+DnWktyadxnOrohKLNUC9/GjFii5RJgY4GFG6ilggw=
13+
github.com/mattn/go-isatty v0.0.2/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4=
14+
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
15+
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
16+
github.com/stretchr/testify v1.1.5-0.20170809224252-890a5c3458b4 h1:c5DdG2to+wHgjlxcmknq5BnzaaJ0N0W842kLlOSurXc=
17+
github.com/stretchr/testify v1.1.5-0.20170809224252-890a5c3458b4/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
18+
golang.org/x/sys v0.0.0-20170803140359-d8f5ea21b929 h1:M4VPQYSW/nB4Bcg1XMD4yW2sprnwerD3Kb6apRphtZw=
19+
golang.org/x/sys v0.0.0-20170803140359-d8f5ea21b929/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
20+
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk=
21+
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q=
22+
gopkg.in/yaml.v2 v2.0.0-20170812160011-eb3733d160e7 h1:+t9dhfO+GNOIGJof6kPOAenx7YgrZMTdRPV+EsnPabk=
23+
gopkg.in/yaml.v2 v2.0.0-20170812160011-eb3733d160e7/go.mod h1:JAlM8MvJe8wmxCU4Bli9HhUf9+ttbYbLASfIpnQbh74=

vendor/github.com/stretchr/testify/LICENCE.txt

Lines changed: 0 additions & 22 deletions
This file was deleted.

vendor/golang.org/x/sys/unix/mkall.sh

100755100644
File mode changed.

vendor/golang.org/x/sys/unix/mkerrors.sh

100755100644
File mode changed.

0 commit comments

Comments
 (0)