Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf7cff22

Browse files
committed
Merge branch 'master' of github.com:naggie/dstask
2 parentsc1bb04b +a13098b commitf7cff22

File tree

6 files changed

+42
-20
lines changed

6 files changed

+42
-20
lines changed

‎.github/workflows/ci.yml

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,17 @@ jobs:
88

99
steps:
1010
-name:Checkout code
11-
uses:actions/checkout@v2
11+
uses:actions/checkout@v4
1212
with:
13-
fetch-depth:50
13+
fetch-depth:0
1414

1515
-name:Set up Go
16-
uses:actions/setup-go@v4
16+
uses:actions/setup-go@v5
1717
with:
18-
go-version:'stable'
19-
20-
-name:Run lint
21-
run:make lint
18+
go-version-file:go.mod
2219

2320
-name:Run golangci-lint
24-
uses:golangci/golangci-lint-action
21+
uses:golangci/golangci-lint-action@v6
2522
with:
2623
version:'latest'
2724

@@ -30,14 +27,23 @@ jobs:
3027

3128
steps:
3229
-name:Checkout code
33-
uses:actions/checkout@v2
30+
uses:actions/checkout@v4
3431
with:
3532
fetch-depth:50
3633

3734
-name:Set up Go
3835
uses:actions/setup-go@v4
3936
with:
40-
go-version:'stable'
37+
go-version-file:go.mod
38+
39+
40+
-name:Go mod vendor
41+
run:go mod vendor
42+
43+
-name:Configure Git User
44+
run:|
45+
git config --global user.name "GitHub Actions Bot"
46+
git config --global user.email "actions@github.com"
4147
4248
-name:Run tests
4349
run:|

‎.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,6 @@ dist
77
# Editors and IDEs
88
.vscode
99
.idea
10+
11+
# Vendor directory
12+
vendor

‎.golangci.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
output:
2-
format:line-number
2+
formats:
3+
-format:line-number
34

45
linters:
56
enable:
@@ -24,3 +25,6 @@ linters:
2425

2526
run:
2627
timeout:2m
28+
29+
issues:
30+
new-from-rev:"490e245"

‎Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ install:
1616
test:
1717
gotest -v ./...
1818
./integrationtest.sh| cat# cat -- no tty, no confirmations
19+
1920
lint:
20-
"qa/lint.sh"
21+
golangci-lint run
2122

2223
update_deps:
2324
go get

‎go.mod

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
modulegithub.com/naggie/dstask
22

3-
go1.21
4-
5-
toolchaingo1.22.8
3+
go1.23.4
64

75
require (
86
github.com/BurntSushi/tomlv1.4.0
@@ -11,7 +9,7 @@ require (
119
github.com/mattn/go-runewidthv0.0.16
1210
github.com/shurcooL/githubv4v0.0.0-20240727222349-48295856cce7
1311
github.com/sirupsen/logrusv1.9.3
14-
github.com/stretchr/testifyv1.7.0
12+
github.com/stretchr/testifyv1.10.0
1513
golang.org/x/oauth2v0.24.0
1614
golang.org/x/sysv0.28.0
1715
gopkg.in/yaml.v2v2.4.0
@@ -22,11 +20,12 @@ require (
2220
require (
2321
github.com/davecgh/go-spewv1.1.1// indirect
2422
github.com/google/go-cmpv0.6.0// indirect
25-
github.com/kr/prettyv0.1.0// indirect
23+
github.com/kr/prettyv0.2.1// indirect
24+
github.com/kr/textv0.1.0// indirect
2625
github.com/pkg/errorsv0.9.1// indirect
2726
github.com/pmezard/go-difflibv1.0.0// indirect
2827
github.com/rivo/unisegv0.4.7// indirect
2928
github.com/shurcooL/graphqlv0.0.0-20230722043721-ed46e5a46466// indirect
30-
gopkg.in/check.v1v1.0.0-20180628173108-788fd7840127// indirect
31-
gopkg.in/yaml.v3v3.0.0-20200313102051-9f266ea9e77c// indirect
29+
gopkg.in/check.v1v1.0.0-20201130134442-10cb98267c6c// indirect
30+
gopkg.in/yaml.v3v3.0.1// indirect
3231
)

‎go.sum

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=
99
github.com/google/go-cmpv0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
1010
github.com/kr/prettyv0.1.0 h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI=
1111
github.com/kr/prettyv0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo=
12+
github.com/kr/prettyv0.2.1 h1:Fmg33tUaq4/8ym9TJN1x7sLJnHVwhP33CNkpYV/7rwI=
13+
github.com/kr/prettyv0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI=
1214
github.com/kr/ptyv1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
1315
github.com/kr/textv0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE=
1416
github.com/kr/textv0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
@@ -32,6 +34,8 @@ github.com/sirupsen/logrus v1.9.3/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVs
3234
github.com/stretchr/objxv0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
3335
github.com/stretchr/testifyv1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY=
3436
github.com/stretchr/testifyv1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
37+
github.com/stretchr/testifyv1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA=
38+
github.com/stretchr/testifyv1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
3539
golang.org/x/oauth2v0.24.0 h1:KTBBxWqUa0ykRPLtV69rRto9TLXcqYkeswu48x/gvNE=
3640
golang.org/x/oauth2v0.24.0/go.mod h1:XYTD2NtWslqkgxebSiOHnXEap4TF09sJSc7H1sXbhtI=
3741
golang.org/x/sysv0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
@@ -41,10 +45,15 @@ golang.org/x/sys v0.28.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
4145
gopkg.in/check.v1v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
4246
gopkg.in/check.v1v1.0.0-20180628173108-788fd7840127 h1:qIbj1fsPNlZgppZ+VLlY7N33q108Sa+fhmuc+sWQYwY=
4347
gopkg.in/check.v1v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
48+
gopkg.in/check.v1v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk=
49+
gopkg.in/check.v1v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q=
4450
gopkg.in/yaml.v2v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY=
4551
gopkg.in/yaml.v2v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ=
46-
gopkg.in/yaml.v3v3.0.0-20200313102051-9f266ea9e77c h1:dUUwHk2QECo/6vqA44rthZ8ie2QXMNeKRTHCNY2nXvo=
4752
gopkg.in/yaml.v3v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
53+
gopkg.in/yaml.v3v3.0.0 h1:hjy8E9ON/egN1tAYqKb61G10WtihqetD4sz2H+8nIeA=
54+
gopkg.in/yaml.v3v3.0.0/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
55+
gopkg.in/yaml.v3v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
56+
gopkg.in/yaml.v3v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
4857
gotest.toolsv2.2.0+incompatible h1:VsBPFP1AI068pPrMxtb/S8Zkgf9xEmTLJjfM+P5UIEo=
4958
gotest.toolsv2.2.0+incompatible/go.mod h1:DsYFclhRJ6vuDpmuTbkuFWG+y2sxOXAzmJt81HFBacw=
5059
mvdan.cc/xurls/v2v2.5.0 h1:lyBNOm8Wo71UknhUs4QTFUNNMyxy2JEIaKKo0RWOh+8=

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp