Merging upstream version 0.8.13.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
4ccf9dc8f1
commit
bc0f764250
28 changed files with 556 additions and 76 deletions
4
.github/workflows/build.yaml
vendored
4
.github/workflows/build.yaml
vendored
|
@ -33,9 +33,9 @@ jobs:
|
|||
platforms: linux/amd64,linux/arm64,linux/386,linux/arm/v6
|
||||
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@29694d72cd5e7ef3b09496b39f28a942af47737e
|
||||
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5
|
||||
with:
|
||||
go-version: 1.24.3
|
||||
go-version: 1.24.x
|
||||
|
||||
- name: Login to Docker Hub
|
||||
uses: docker/login-action@6d4b68b490aef8836e8fb5e50ee7b3bdfa5894f0
|
||||
|
|
9
.github/workflows/docs.yaml
vendored
9
.github/workflows/docs.yaml
vendored
|
@ -7,6 +7,9 @@ permissions:
|
|||
contents: write
|
||||
actions: read
|
||||
|
||||
env:
|
||||
GO_VERSION: 1.24.x
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -20,9 +23,9 @@ jobs:
|
|||
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
|
||||
|
||||
- name: Setup Go
|
||||
uses: actions/setup-go@29694d72cd5e7ef3b09496b39f28a942af47737e
|
||||
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5
|
||||
with:
|
||||
go-version: "1.24"
|
||||
go-version: ${{ env.GO_VERSION }}
|
||||
|
||||
- name: Generate Service Config Docs
|
||||
run: |
|
||||
|
@ -31,7 +34,7 @@ jobs:
|
|||
./generate-service-config-docs.sh
|
||||
|
||||
- name: Setup Python
|
||||
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065
|
||||
uses: actions/setup-python@5db1cf9a59fb97c40a68accab29236f0da7e94db
|
||||
with:
|
||||
python-version: "3.13.3"
|
||||
cache: "pip"
|
||||
|
|
4
.github/workflows/lint.yaml
vendored
4
.github/workflows/lint.yaml
vendored
|
@ -15,7 +15,7 @@ jobs:
|
|||
uses: actions/checkout@85e6279cec87321a52edac9c87bce653a07cf6c2
|
||||
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@29694d72cd5e7ef3b09496b39f28a942af47737e
|
||||
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5
|
||||
with:
|
||||
go-version: "1.24.3"
|
||||
|
||||
|
@ -23,7 +23,7 @@ jobs:
|
|||
run: go mod download
|
||||
|
||||
- name: Run golangci-lint
|
||||
uses: golangci/golangci-lint-action@4d56fa9e3c67fb4afa92b38c99fc7f20f5eeff4e
|
||||
uses: golangci/golangci-lint-action@481777f62fe06de6923fd3a69efd3ba597fe628a
|
||||
with:
|
||||
args: --timeout=5m --config= # Use default linter settings
|
||||
|
||||
|
|
5
.github/workflows/pull-request.yaml
vendored
5
.github/workflows/pull-request.yaml
vendored
|
@ -3,8 +3,9 @@ name: Pull Request
|
|||
on:
|
||||
workflow_dispatch: {}
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
paths-ignore:
|
||||
- "docs/*"
|
||||
- ".github/*"
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
|
2
.github/workflows/release-dev.yaml
vendored
2
.github/workflows/release-dev.yaml
vendored
|
@ -8,6 +8,7 @@ on:
|
|||
- "v*"
|
||||
paths-ignore:
|
||||
- "docs/*"
|
||||
- ".github/*"
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
@ -27,6 +28,7 @@ jobs:
|
|||
uses: ./.github/workflows/build.yaml
|
||||
secrets: inherit
|
||||
needs:
|
||||
- lint
|
||||
- test
|
||||
with:
|
||||
snapshot: true
|
||||
|
|
15
.github/workflows/release-production.yaml
vendored
15
.github/workflows/release-production.yaml
vendored
|
@ -23,15 +23,10 @@ jobs:
|
|||
uses: ./.github/workflows/build.yaml
|
||||
secrets: inherit
|
||||
needs:
|
||||
- lint
|
||||
- test
|
||||
|
||||
renew-docs:
|
||||
name: Refresh pkg.go.dev
|
||||
needs: build
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Pull new module version
|
||||
uses: nicholas-fedor/go-proxy-pull-action@ad5d0f8b44e5478055cf78227eb300d2b02786f2
|
||||
with:
|
||||
goproxy: https://proxy.golang.org
|
||||
import_path: github.com/nicholas-fedor/shoutrrr
|
||||
update-go-docs:
|
||||
uses: ./.github/workflows/update-go-docs.yaml
|
||||
needs:
|
||||
- build
|
||||
|
|
4
.github/workflows/test.yaml
vendored
4
.github/workflows/test.yaml
vendored
|
@ -15,7 +15,7 @@ jobs:
|
|||
uses: actions/checkout@85e6279cec87321a52edac9c87bce653a07cf6c2
|
||||
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@29694d72cd5e7ef3b09496b39f28a942af47737e
|
||||
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5
|
||||
with:
|
||||
go-version: "1.24.3"
|
||||
|
||||
|
@ -27,6 +27,6 @@ jobs:
|
|||
go test -v -coverprofile coverage.out -covermode atomic ./...
|
||||
|
||||
- name: Upload coverage reports to Codecov
|
||||
uses: codecov/codecov-action@ad3126e916f78f00edff4ed0317cf185271ccc2d
|
||||
uses: codecov/codecov-action@15559ed290fa727036809b67ab0f646ffa6c5158
|
||||
with:
|
||||
token: ${{ secrets.CODECOV_TOKEN }}
|
||||
|
|
19
.github/workflows/update-go-docs.yaml
vendored
Normal file
19
.github/workflows/update-go-docs.yaml
vendored
Normal file
|
@ -0,0 +1,19 @@
|
|||
name: Update pkg.go.dev
|
||||
|
||||
on:
|
||||
- workflow_dispatch
|
||||
- workflow_call
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
update-go-docs:
|
||||
name: Update pkg.go.dev
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Pull new module version
|
||||
uses: nicholas-fedor/go-proxy-pull-action@ad5d0f8b44e5478055cf78227eb300d2b02786f2
|
||||
with:
|
||||
goproxy: https://proxy.golang.org
|
||||
import_path: github.com/nicholas-fedor/shoutrrr
|
Loading…
Add table
Add a link
Reference in a new issue