9 Commits

Author SHA1 Message Date
1d3e64f946 Merge pull request 'chore(deps): update goreleaser/goreleaser-action action to v6.4.0' (#101) from renovate/actions into master
All checks were successful
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-amd64) (push) Successful in 10s
Lint Markdown files / Run markdown linter (push) Successful in 4s
Run Golang tests / Run unit tests (stable, ubuntu-latest-amd64) (push) Successful in 27s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-arm64) (push) Successful in 33s
Run Golang tests / Run unit tests (stable, ubuntu-latest-arm64) (push) Successful in 23s
2025-08-14 16:12:43 +00:00
42323ca07c chore(deps): update goreleaser/goreleaser-action action to v6.4.0
All checks were successful
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-amd64) (push) Successful in 10s
Run Golang tests / Run unit tests (stable, ubuntu-latest-amd64) (push) Successful in 6s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-amd64) (pull_request) Successful in 9s
Lint Markdown files / Run markdown linter (pull_request) Successful in 4s
Run Golang tests / Run unit tests (stable, ubuntu-latest-amd64) (pull_request) Successful in 27s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-arm64) (push) Successful in 33s
Run Golang tests / Run unit tests (stable, ubuntu-latest-arm64) (push) Successful in 25s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-arm64) (pull_request) Successful in 32s
Run Golang tests / Run unit tests (stable, ubuntu-latest-arm64) (pull_request) Successful in 25s
2025-08-14 16:05:19 +00:00
1cc0e0a074 Merge pull request 'chore(deps): update dependency golangci/golangci-lint to v2.4.0' (#100) from renovate/golangci-golangci-lint-2.x into master
All checks were successful
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-amd64) (push) Successful in 9s
Lint Markdown files / Run markdown linter (push) Successful in 4s
Run Golang tests / Run unit tests (stable, ubuntu-latest-amd64) (push) Successful in 1m31s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-arm64) (push) Successful in 34s
Run Golang tests / Run unit tests (stable, ubuntu-latest-arm64) (push) Successful in 25s
2025-08-14 01:24:49 +00:00
b1db5cc338 chore(deps): update dependency golangci/golangci-lint to v2.4.0
All checks were successful
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-amd64) (push) Successful in 30s
Run Golang tests / Run unit tests (stable, ubuntu-latest-amd64) (push) Successful in 12s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-amd64) (pull_request) Successful in 9s
Run Golang tests / Run unit tests (stable, ubuntu-latest-amd64) (pull_request) Successful in 7s
Lint Markdown files / Run markdown linter (pull_request) Successful in 4s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-arm64) (push) Successful in 1m43s
Run Golang tests / Run unit tests (stable, ubuntu-latest-arm64) (push) Successful in 45s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-arm64) (pull_request) Successful in 33s
Run Golang tests / Run unit tests (stable, ubuntu-latest-arm64) (pull_request) Successful in 27s
2025-08-14 01:06:07 +00:00
87be3fe43e Merge pull request 'chore(deps): update dependency golangci/golangci-lint to v2.3.1' (#99) from renovate/golangci-golangci-lint-2.x into master
All checks were successful
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-amd64) (push) Successful in 13s
Lint Markdown files / Run markdown linter (push) Successful in 4s
Run Golang tests / Run unit tests (stable, ubuntu-latest-amd64) (push) Successful in 35s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-arm64) (push) Successful in 46s
Run Golang tests / Run unit tests (stable, ubuntu-latest-arm64) (push) Successful in 24s
2025-08-12 10:16:48 +00:00
1d444f1d0d chore(deps): update dependency golangci/golangci-lint to v2.3.1
All checks were successful
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-arm64) (push) Successful in 47s
Run Golang tests / Run unit tests (stable, ubuntu-latest-arm64) (push) Successful in 22s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-arm64) (pull_request) Successful in 47s
Run Golang tests / Run unit tests (stable, ubuntu-latest-arm64) (pull_request) Successful in 23s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-amd64) (push) Successful in 14s
Run Golang tests / Run unit tests (stable, ubuntu-latest-amd64) (push) Successful in 8s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-amd64) (pull_request) Successful in 16s
Run Golang tests / Run unit tests (stable, ubuntu-latest-amd64) (pull_request) Successful in 6s
Lint Markdown files / Run markdown linter (pull_request) Successful in 4s
2025-08-12 09:50:36 +00:00
bd21da5b8f fix(ci): rename workflows; add golang ci lint
All checks were successful
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-amd64) (push) Successful in 21s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-arm64) (push) Successful in 52s
Lint Markdown files / Run markdown linter (push) Successful in 9s
Run Golang tests / Run unit tests (stable, ubuntu-latest-arm64) (push) Successful in 21s
Run Golang tests / Run unit tests (stable, ubuntu-latest-amd64) (push) Successful in 28s
2025-08-12 08:53:57 +02:00
a281e1cf99 Merge pull request 'chore(deps): update actions/checkout action to v4.3.0' (#97) from renovate/actions into master
All checks were successful
Golang Tests / unittest (stable, ubuntu-latest-amd64) (push) Successful in 6s
Golang CI lint / golangci (stable, ubuntu-latest-amd64) (push) Successful in 9s
Lint Markdown files / markdown-lint (push) Successful in 4s
Golang Tests / unittest (stable, ubuntu-latest-arm64) (push) Successful in 22s
Golang CI lint / golangci (stable, ubuntu-latest-arm64) (push) Successful in 30s
2025-08-11 14:05:22 +00:00
80f9be45dd chore(deps): update actions/checkout action to v4.3.0
All checks were successful
Golang CI lint / golangci (stable, ubuntu-latest-arm64) (push) Successful in 1m16s
Golang Tests / unittest (stable, ubuntu-latest-arm64) (pull_request) Successful in 22s
Golang CI lint / golangci (stable, ubuntu-latest-arm64) (pull_request) Successful in 34s
Lint Markdown files / markdown-lint (pull_request) Successful in 10s
Golang CI lint / golangci (stable, ubuntu-latest-amd64) (push) Successful in 31s
Golang Tests / unittest (stable, ubuntu-latest-amd64) (pull_request) Successful in 11s
Golang CI lint / golangci (stable, ubuntu-latest-amd64) (pull_request) Successful in 9s
Golang Tests / unittest (stable, ubuntu-latest-amd64) (push) Successful in 1m11s
Golang Tests / unittest (stable, ubuntu-latest-arm64) (push) Successful in 1m12s
2025-08-11 13:10:47 +00:00
8 changed files with 67 additions and 18 deletions

1
.dockerignore Normal file
View File

@ -0,0 +1 @@
drone-email

13
.editorconfig Normal file
View File

@ -0,0 +1,13 @@
# Editor configuration, see http://editorconfig.org
root = true
[*]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = space
insert_final_newline = false
trim_trailing_whitespace = true
[{Makefile,*.go}]
indent_style = tab

View File

@ -1,4 +1,4 @@
name: Golang CI lint
name: "Lint Golang files"
on:
pull_request:
@ -6,22 +6,24 @@ on:
push:
branches: [ '**' ]
tags-ignore: [ '**' ]
workflow_dispatch: {}
permissions:
contents: read
jobs:
golangci:
name: "Run golang CI linter"
runs-on: ${{ matrix.os }}
strategy:
matrix:
go: [ stable ]
os: [ ubuntu-latest-amd64, ubuntu-latest-arm64 ]
steps:
- uses: actions/checkout@v5.0.0
- uses: actions/checkout@v4.3.0
- uses: actions/setup-go@v5.5.0
with:
go-version: ${{ matrix.go }}
- uses: golangci/golangci-lint-action@v8.0.0
with:
version: v2.1
version: v2.4.0 # renovate: datasource=github-releases depName=golangci/golangci-lint

View File

@ -1,4 +1,4 @@
name: Golang Tests
name: "Run Golang tests"
on:
pull_request:
@ -6,16 +6,34 @@ on:
push:
branches: [ '**' ]
tags-ignore: [ '**' ]
workflow_dispatch: {}
jobs:
unittest:
# integration-test:
# name: "Run integration tests"
# runs-on: ${{ matrix.os }}
# strategy:
# matrix:
# go: [ stable ]
# os: [ ubuntu-latest-amd64, ubuntu-latest-arm64 ]
# steps:
# - uses: actions/checkout@v4.3.0
# - uses: actions/setup-go@v5.5.0
# with:
# go-version: ${{ matrix.go }}
# - env:
# GOPROXY: ${{ vars.GOPROXY }}
# run: make test/integration
unit-test:
name: "Run unit tests"
runs-on: ${{ matrix.os }}
strategy:
matrix:
go: [ stable ]
os: [ ubuntu-latest-amd64, ubuntu-latest-arm64 ]
steps:
- uses: actions/checkout@v5.0.0
- uses: actions/checkout@v4.3.0
- uses: actions/setup-go@v5.5.0
with:
go-version: ${{ matrix.go }}

View File

@ -1,4 +1,4 @@
name: 'Lint Markdown files'
name: "Lint Markdown files"
on:
pull_request:
@ -6,13 +6,14 @@ on:
push:
branches: [ '*' ]
tags-ignore: [ '*' ]
workflow_dispatch: {}
jobs:
markdown-lint:
runs-on:
- ubuntu-latest
name: "Run markdown linter"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5.0.0
- uses: actions/checkout@v4.3.0
- uses: DavidAnson/markdownlint-cli2-action@v20.0.0
with:
globs: '**/*.md'
globs: '**/*.md'

View File

@ -1,4 +1,4 @@
name: Release
name: "Release"
on:
push:
@ -9,10 +9,10 @@ permissions:
jobs:
release:
runs-on:
- ubuntu-latest
name: "Release application"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5.0.0
- uses: actions/checkout@v4.3.0
- uses: docker/setup-qemu-action@v3.6.0
- uses: actions/setup-go@v5.5.0
with:
@ -26,12 +26,13 @@ jobs:
GITEA_TOKEN: ${{ secrets.GIT_CRYPTIC_SYSTEMS_PACKAGE_REGISTRY_TOKEN }}
GONOSUMDB: ${{ vars.GONOSUMDB }}
GOPROXY: ${{ vars.GOPROXY }}
uses: goreleaser/goreleaser-action@v6.3.0
uses: goreleaser/goreleaser-action@v6.4.0
with:
version: "~> v2"
version: v2.11.2 # renovate: datasource=github-releases depName=goreleaser/goreleaser
args: release --clean
sync-to-hub-docker-io:
name: "Upload Images to docker.io"
needs:
- release
runs-on: ubuntu-latest

View File

@ -11,7 +11,7 @@ jobs:
runs-on:
- ubuntu-latest
steps:
- uses: actions/checkout@v5.0.0
- uses: actions/checkout@v4.3.0
- uses: peter-evans/dockerhub-description@v4.0.2
with:
username: ${{ secrets.DOCKER_IO_USERNAME }}

13
.golangci.yaml Normal file
View File

@ -0,0 +1,13 @@
version: "2"
linters:
default: standard
enable:
- errname
- gosec
exclusions:
rules: []
warn-unused: true
run:
tests: true