Skip to content

Commit d05b6a9

Browse files
committed
跟随上游更新到v0.8.1,增加对纯真xdb支持(文件名ip2region-cz88.xdb)
1 parent 54b1bd8 commit d05b6a9

File tree

4 files changed

+21
-36
lines changed

4 files changed

+21
-36
lines changed

.github/FUNDING.yml

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

.github/dependabot.yml

Lines changed: 14 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,14 @@
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+

.github/workflows/go.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ jobs:
77
runs-on: ubuntu-latest
88
steps:
99
- name: Setup Go
10-
uses: actions/setup-go@v3
10+
uses: actions/setup-go@v5
1111
with:
12-
go-version: '^1.21'
12+
go-version: '^1.22'
1313

1414
- name: Check out code into the Go module directory
15-
uses: actions/checkout@v3
15+
uses: actions/checkout@v4
1616

1717
- name: Cache go module
18-
uses: actions/cache@v3
18+
uses: actions/cache@v4
1919
with:
2020
path: ~/go/pkg/mod
2121
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
@@ -34,7 +34,7 @@ jobs:
3434
run: make -j releases && make sha256sum
3535

3636
- name: Upload Release
37-
uses: softprops/action-gh-release@v1
37+
uses: softprops/action-gh-release@v2
3838
if: startsWith(github.ref, 'refs/tags/')
3939
env:
4040
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -43,7 +43,7 @@ jobs:
4343
draft: true
4444
prerelease: true
4545

46-
- uses: actions/upload-artifact@v3
46+
- uses: actions/upload-artifact@v4
4747
if: startsWith(github.ref, 'refs/tags/')
4848
with:
4949
name: build

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ require (
99
github.com/google/martian v2.1.0+incompatible
1010
github.com/ip2location/ip2location-go/v9 v9.6.0
1111
github.com/ipipdotnet/ipdb-go v1.3.3
12+
github.com/labstack/echo/v4 v4.11.1
1213
github.com/lionsoul2014/ip2region/binding/golang v0.0.0-20230731060429-6ed8bf011875
1314
github.com/oschwald/geoip2-golang v1.9.0
1415
github.com/saracen/go7z v0.0.0-20191010121135-9c09b6bd7fda
@@ -25,7 +26,6 @@ require (
2526
github.com/google/go-querystring v1.1.0 // indirect
2627
github.com/hashicorp/hcl v1.0.0 // indirect
2728
github.com/inconshreveable/mousetrap v1.1.0 // indirect
28-
github.com/labstack/echo/v4 v4.11.1 // indirect
2929
github.com/labstack/gommon v0.4.0 // indirect
3030
github.com/magiconair/properties v1.8.7 // indirect
3131
github.com/mattn/go-colorable v0.1.13 // indirect

0 commit comments

Comments
 (0)