3 Commits

Author SHA1 Message Date
381479cd17 chore(deps): update actions/checkout action to v5
Some checks failed
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-amd64) (push) Failing after 2s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-amd64) (pull_request) Failing after 1s
Run Golang tests / Run unit tests (stable, ubuntu-latest-amd64) (push) Failing after 2s
Run Golang tests / Run unit tests (stable, ubuntu-latest-amd64) (pull_request) Failing after 2s
Lint Markdown files / Run markdown linter (pull_request) Failing after 2s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-arm64) (push) Failing after 5s
Run Golang tests / Run unit tests (stable, ubuntu-latest-arm64) (push) Failing after 4s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-arm64) (pull_request) Failing after 3s
Run Golang tests / Run unit tests (stable, ubuntu-latest-arm64) (pull_request) Failing after 3s
2025-08-12 07:12:13 +00:00
2ba7bd6e58 chore(deps): update actions/checkout to v4.3.0
All checks were successful
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-amd64) (push) Successful in 24s
Run Golang tests / Run unit tests (stable, ubuntu-latest-amd64) (push) Successful in 11s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-arm64) (push) Successful in 1m8s
Lint Markdown files / Run markdown linter (push) Successful in 29s
Run Golang tests / Run unit tests (stable, ubuntu-latest-arm64) (push) Successful in 24s
2025-08-12 08:48:12 +02:00
01a7fd3e34 fix(ci): rename workflows; add golang ci lint
Some checks failed
Run Golang tests / Run unit tests (stable, ubuntu-latest-amd64) (push) Successful in 8s
Lint Markdown files / Run markdown linter (push) Successful in 6s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-arm64) (push) Has been cancelled
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-amd64) (push) Has been cancelled
Run Golang tests / Run unit tests (stable, ubuntu-latest-arm64) (push) Has been cancelled
2025-08-12 08:47:19 +02:00
8 changed files with 52 additions and 27 deletions

1
.dockerignore Normal file
View File

@ -0,0 +1 @@
db-wait

10
.gitattributes vendored
View File

@ -1,10 +0,0 @@
# checkout alls text files with end of line = line feed
* text eol=lf
# Binary files should be checked in and out as binary
*.png binary
*.jpg binary
*.eot binary
*.ttf binary
*.pkcs8 binary
*.pkcs12 binary

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@v4.3.0
- uses: actions/checkout@v5.0.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.3.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@v4.3.0
- uses: actions/checkout@v5.0.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@v4.3.0
- uses: actions/checkout@v5.0.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@v4.3.0
- uses: actions/checkout@v5.0.0
- uses: docker/setup-qemu-action@v3.6.0
- uses: actions/setup-go@v5.5.0
with:
@ -28,7 +28,7 @@ jobs:
GOPROXY: ${{ vars.GOPROXY }}
uses: goreleaser/goreleaser-action@v6.3.0
with:
version: "~> v2"
version: v2.11.2 # renovate: datasource=github-releases depName=goreleaser/goreleaser
args: release --clean
sync-to-hub-docker-io:

View File

@ -11,7 +11,7 @@ jobs:
runs-on:
- ubuntu-latest
steps:
- uses: actions/checkout@v4.3.0
- uses: actions/checkout@v5.0.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