Skip to content

Commit

Permalink
跟随上游更新到v0.8.1,增加对纯真xdb支持(文件名ip2region-cz88.xdb)
Browse files Browse the repository at this point in the history
  • Loading branch information
fcwys committed May 11, 2024
1 parent 54b1bd8 commit d05b6a9
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 36 deletions.
12 changes: 0 additions & 12 deletions .github/FUNDING.yml

This file was deleted.

31 changes: 14 additions & 17 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"

- package-ecosystem: "docker"
directory: "/"
schedule:
interval: "daily"

- package-ecosystem: "gomod"
directory: "/"
schedule:
interval: "daily"

version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
open-pull-requests-limit: 0

- package-ecosystem: "gomod"
directory: "/"
schedule:
interval: "weekly"
open-pull-requests-limit: 0

12 changes: 6 additions & 6 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Setup Go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: '^1.21'
go-version: '^1.22'

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

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

- name: Upload Release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -43,7 +43,7 @@ jobs:
draft: true
prerelease: true

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: startsWith(github.ref, 'refs/tags/')
with:
name: build
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ require (
github.com/google/martian v2.1.0+incompatible
github.com/ip2location/ip2location-go/v9 v9.6.0
github.com/ipipdotnet/ipdb-go v1.3.3
github.com/labstack/echo/v4 v4.11.1
github.com/lionsoul2014/ip2region/binding/golang v0.0.0-20230731060429-6ed8bf011875
github.com/oschwald/geoip2-golang v1.9.0
github.com/saracen/go7z v0.0.0-20191010121135-9c09b6bd7fda
Expand All @@ -25,7 +26,6 @@ require (
github.com/google/go-querystring v1.1.0 // indirect
github.com/hashicorp/hcl v1.0.0 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/labstack/echo/v4 v4.11.1 // indirect
github.com/labstack/gommon v0.4.0 // indirect
github.com/magiconair/properties v1.8.7 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
Expand Down

0 comments on commit d05b6a9

Please sign in to comment.