diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml deleted file mode 100644 index f2a22160..00000000 --- a/.github/FUNDING.yml +++ /dev/null @@ -1,12 +0,0 @@ -# These are supported funding model platforms - -github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] ['zu1k'] -patreon: zu1k # Replace with a single Patreon username -open_collective: # Replace with a single Open Collective username -ko_fi: # Replace with a single Ko-fi username -tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel -community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry -liberapay: # Replace with a single Liberapay username -issuehunt: # Replace with a single IssueHunt username -otechie: # Replace with a single Otechie username -custom: ['https://zu1k.com/donate/']# Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 2c0af7b8..0941bad3 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -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 + diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 8fe1d63a..25338c16 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -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') }} @@ -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 }} @@ -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 diff --git a/go.mod b/go.mod index c0506bd3..65f02197 100644 --- a/go.mod +++ b/go.mod @@ -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 @@ -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