File tree Expand file tree Collapse file tree 4 files changed +21
-36
lines changed Expand file tree Collapse file tree 4 files changed +21
-36
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- version : 2
2
- updates :
3
- - package-ecosystem : " github-actions"
4
- directory : " /"
5
- schedule :
6
- interval : " daily"
7
-
8
- - package-ecosystem : " docker"
9
- directory : " /"
10
- schedule :
11
- interval : " daily"
12
-
13
- - package-ecosystem : " gomod"
14
- directory : " /"
15
- schedule :
16
- interval : " daily"
17
-
1
+ version : 2
2
+ updates :
3
+ - package-ecosystem : " github-actions"
4
+ directory : " /"
5
+ schedule :
6
+ interval : " weekly"
7
+ open-pull-requests-limit : 0
8
+
9
+ - package-ecosystem : " gomod"
10
+ directory : " /"
11
+ schedule :
12
+ interval : " weekly"
13
+ open-pull-requests-limit : 0
14
+
Original file line number Diff line number Diff line change 7
7
runs-on : ubuntu-latest
8
8
steps :
9
9
- name : Setup Go
10
- uses : actions/setup-go@v3
10
+ uses : actions/setup-go@v5
11
11
with :
12
- go-version : ' ^1.21 '
12
+ go-version : ' ^1.22 '
13
13
14
14
- name : Check out code into the Go module directory
15
- uses : actions/checkout@v3
15
+ uses : actions/checkout@v4
16
16
17
17
- name : Cache go module
18
- uses : actions/cache@v3
18
+ uses : actions/cache@v4
19
19
with :
20
20
path : ~/go/pkg/mod
21
21
key : ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
34
34
run : make -j releases && make sha256sum
35
35
36
36
- name : Upload Release
37
- uses : softprops/action-gh-release@v1
37
+ uses : softprops/action-gh-release@v2
38
38
if : startsWith(github.ref, 'refs/tags/')
39
39
env :
40
40
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
43
43
draft : true
44
44
prerelease : true
45
45
46
- - uses : actions/upload-artifact@v3
46
+ - uses : actions/upload-artifact@v4
47
47
if : startsWith(github.ref, 'refs/tags/')
48
48
with :
49
49
name : build
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ require (
9
9
github.com/google/martian v2.1.0+incompatible
10
10
github.com/ip2location/ip2location-go/v9 v9.6.0
11
11
github.com/ipipdotnet/ipdb-go v1.3.3
12
+ github.com/labstack/echo/v4 v4.11.1
12
13
github.com/lionsoul2014/ip2region/binding/golang v0.0.0-20230731060429-6ed8bf011875
13
14
github.com/oschwald/geoip2-golang v1.9.0
14
15
github.com/saracen/go7z v0.0.0-20191010121135-9c09b6bd7fda
@@ -25,7 +26,6 @@ require (
25
26
github.com/google/go-querystring v1.1.0 // indirect
26
27
github.com/hashicorp/hcl v1.0.0 // indirect
27
28
github.com/inconshreveable/mousetrap v1.1.0 // indirect
28
- github.com/labstack/echo/v4 v4.11.1 // indirect
29
29
github.com/labstack/gommon v0.4.0 // indirect
30
30
github.com/magiconair/properties v1.8.7 // indirect
31
31
github.com/mattn/go-colorable v0.1.13 // indirect
You can’t perform that action at this time.
0 commit comments