From daa14aef938aa5f944a85bfe0ca891b7f9f284d0 Mon Sep 17 00:00:00 2001 From: Rene Leonhardt <65483435+reneleonhardt@users.noreply.github.com> Date: Tue, 18 Jun 2024 19:01:25 +0200 Subject: [PATCH] chore(deps): Update dependencies --- .github/dependabot.yml | 15 ++ .github/workflows/build.yml | 6 +- .github/workflows/release.yml | 6 +- .github/workflows/test.yml | 4 +- .goreleaser.yml | 17 +- api/public/js/alpine.min.js | 6 +- api/public/js/apexcharts.min.js | 10 +- api/public/js/tailwind.min.js | 63 +++--- docs/Makefile | 2 +- go.mod | 90 ++++---- go.sum | 352 +++++++++++++++----------------- pkg/discovery/dht.go | 2 +- pkg/discovery/mdns.go | 4 +- pkg/stream/decay.go | 4 +- 14 files changed, 289 insertions(+), 292 deletions(-) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 00000000..83c2fca0 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,15 @@ +# https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file +version: 2 +updates: + - package-ecosystem: "gitsubmodule" + directory: "/" + schedule: + interval: "weekly" + - package-ecosystem: "gomod" + directory: "/" + schedule: + interval: "weekly" + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 910dae91..31a94f91 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,9 +14,9 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: 1.21 + go-version: 1.22 - name: Run GoReleaser uses: goreleaser/goreleaser-action@v6 with: - version: v1.18.2 - args: build --rm-dist --snapshot + version: v2.0.1 + args: build --clean --snapshot diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 432c0ef3..2a628327 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,11 +16,11 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: 1.21 + go-version: 1.22 - name: Run GoReleaser uses: goreleaser/goreleaser-action@v6 with: - version: v1.18.2 - args: release --rm-dist + version: v2.0.1 + args: release --clean env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 34f249e0..aff49aeb 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,7 +15,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: 1.21 + go-version: 1.22 - name: Build run: @@ -50,7 +50,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: 1.21 + go-version: 1.22 - name: Download result for build uses: actions/download-artifact@v4 with: diff --git a/.goreleaser.yml b/.goreleaser.yml index d02e14ca..2a33ac49 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,4 +1,5 @@ # Make sure to check the documentation at http://goreleaser.com +version: 2 builds: - ldflags: - -w -s @@ -21,14 +22,14 @@ source: name_template: '{{ .ProjectName }}-{{ .Tag }}-source' archives: # Default template uses underscores instead of - - - name_template: "{{ .ProjectName }}-{{ .Tag }}-{{ .Os }}-{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}" - replacements: - darwin: Darwin - linux: Linux - windows: Windows - freebsd: FreeBSD - 386: i386 - amd64: x86_64 + - name_template: >- + {{ .ProjectName }}-{{ .Tag }}- + {{- if eq .Os "freebsd" }}FreeBSD + {{- else }}{{- title .Os }}{{end}}- + {{- if eq .Arch "amd64" }}x86_64 + {{- else if eq .Arch "386" }}i386 + {{- else }}{{ .Arch }}{{end}} + {{- if .Arm }}v{{ .Arm }}{{ end }} checksum: name_template: '{{ .ProjectName }}-{{ .Tag }}-checksums.txt' snapshot: diff --git a/api/public/js/alpine.min.js b/api/public/js/alpine.min.js index ebc88e09..5a72af48 100644 --- a/api/public/js/alpine.min.js +++ b/api/public/js/alpine.min.js @@ -1,8 +1,8 @@ /** * Minified by jsDelivr using Terser v5.3.5. - * Original file: /gh/alpinejs/alpine@2.7.3/dist/alpine.js + * Original file: /gh/alpinejs/alpine@2.8.2/dist/alpine.js * * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files */ - !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e=e||self).Alpine=t()}(this,(function(){"use strict";function e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function t(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function n(n){for(var i=1;i tags. See https://github.com/alpinejs/alpine#${t}`):1!==e.content.childElementCount&&console.warn(`Alpine: