Compare commits

..

11 Commits

Author SHA1 Message Date
53bc7049d4 Merge pull request 'chore(deps): update goreleaser/goreleaser-action action to v6.4.0' (#38) from renovate/actions into master
All checks were successful
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-amd64) (push) Successful in 13s
Run Golang tests / Run unit tests (stable, ubuntu-latest-amd64) (push) Successful in 8s
Lint Markdown files / Run markdown linter (push) Successful in 4s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-arm64) (push) Successful in 44s
Run Golang tests / Run unit tests (stable, ubuntu-latest-arm64) (push) Successful in 33s
2025-08-14 16:05:28 +00:00
2a34b04809 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 13s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-amd64) (pull_request) Successful in 11s
Run Golang tests / Run unit tests (stable, ubuntu-latest-amd64) (pull_request) Successful in 8s
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 41s
Run Golang tests / Run unit tests (stable, ubuntu-latest-arm64) (push) Successful in 33s
Run Golang tests / Run unit tests (stable, ubuntu-latest-amd64) (push) Successful in 1m21s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-arm64) (pull_request) Successful in 42s
Run Golang tests / Run unit tests (stable, ubuntu-latest-arm64) (pull_request) Successful in 34s
2025-08-14 16:02:45 +00:00
da6cd343c4 Merge pull request 'chore(deps): update dependency go to v1.25.0' (#36) from renovate/go-modules into master
All checks were successful
Run Golang tests / Run unit tests (stable, ubuntu-latest-amd64) (push) Successful in 8s
Lint Markdown files / Run markdown linter (push) Successful in 4s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-arm64) (push) Successful in 42s
Run Golang tests / Run unit tests (stable, ubuntu-latest-arm64) (push) Successful in 33s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-amd64) (push) Successful in 2m41s
2025-08-14 04:06:42 +00:00
2dc90fa6a6 chore(deps): update dependency go to v1.25.0
All checks were successful
Run Golang tests / Run unit tests (stable, ubuntu-latest-amd64) (push) Successful in 9s
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 8s
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 1m1s
Run Golang tests / Run unit tests (stable, ubuntu-latest-arm64) (push) Successful in 34s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-arm64) (pull_request) Successful in 43s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-amd64) (push) Successful in 2m28s
Run Golang tests / Run unit tests (stable, ubuntu-latest-arm64) (pull_request) Successful in 33s
2025-08-14 04:03:37 +00:00
ab31bdf97d Merge pull request 'chore(deps): update dependency golangci/golangci-lint to v2.4.0' (#37) 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 11s
Run Golang tests / Run unit tests (stable, ubuntu-latest-amd64) (push) Successful in 8s
Lint Markdown files / Run markdown linter (push) Successful in 24s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-arm64) (push) Successful in 40s
Run Golang tests / Run unit tests (stable, ubuntu-latest-arm64) (push) Successful in 38s
2025-08-14 01:10:53 +00:00
7611aa6abc 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 45s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-amd64) (pull_request) Successful in 10s
Run Golang tests / Run unit tests (stable, ubuntu-latest-amd64) (pull_request) Successful in 18s
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 2m4s
Run Golang tests / Run unit tests (stable, ubuntu-latest-arm64) (push) Successful in 1m13s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-arm64) (pull_request) Successful in 38s
Run Golang tests / Run unit tests (stable, ubuntu-latest-amd64) (push) Successful in 3m56s
Run Golang tests / Run unit tests (stable, ubuntu-latest-arm64) (pull_request) Successful in 35s
2025-08-14 01:03:42 +00:00
e02fb2ef79 Merge pull request 'chore(deps): update dependency golangci/golangci-lint to v2.3.1' (#35) 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 19s
Lint Markdown files / Run markdown linter (push) Successful in 5s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-arm64) (push) Successful in 1m15s
Run Golang tests / Run unit tests (stable, ubuntu-latest-arm64) (push) Successful in 53s
Run Golang tests / Run unit tests (stable, ubuntu-latest-amd64) (push) Successful in 2m59s
2025-08-12 10:13:48 +00:00
ec85417dfa 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-amd64) (push) Successful in 18s
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 8s
Lint Markdown files / Run markdown linter (pull_request) Successful in 5s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-arm64) (push) Successful in 1m15s
Run Golang tests / Run unit tests (stable, ubuntu-latest-arm64) (push) Successful in 53s
Run Golang tests / Run unit tests (stable, ubuntu-latest-amd64) (push) Successful in 2m27s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-arm64) (pull_request) Successful in 1m17s
Run Golang tests / Run unit tests (stable, ubuntu-latest-arm64) (pull_request) Successful in 52s
2025-08-12 09:47:25 +00:00
0c3099b7fc fix(ci): rename workflows; add golang ci lint
All checks were successful
Run Golang tests / Run unit tests (stable, ubuntu-latest-amd64) (push) Successful in 7s
Lint Markdown files / Run markdown linter (push) Successful in 3s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-arm64) (push) Successful in 1m13s
Run Golang tests / Run unit tests (stable, ubuntu-latest-arm64) (push) Successful in 51s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-amd64) (push) Successful in 3m9s
2025-08-12 09:08:51 +02:00
d867671dc0 Merge pull request 'chore(deps): update actions/checkout action to v4.3.0' (#33) from renovate/actions into master
All checks were successful
Golang Tests / unittest (stable, ubuntu-latest-amd64) (push) Successful in 35s
Golang CI lint / golangci (stable, ubuntu-latest-amd64) (push) Successful in 23s
Lint Markdown files / markdown-lint (push) Successful in 4s
Golang Tests / unittest (stable, ubuntu-latest-arm64) (push) Successful in 51s
Golang CI lint / golangci (stable, ubuntu-latest-arm64) (push) Successful in 1m0s
2025-08-11 13:49:18 +00:00
eefc37f2b3 chore(deps): update actions/checkout action to v4.3.0
All checks were successful
Golang Tests / unittest (stable, ubuntu-latest-arm64) (push) Successful in 1m19s
Golang CI lint / golangci (stable, ubuntu-latest-arm64) (push) Successful in 1m15s
Golang Tests / unittest (stable, ubuntu-latest-arm64) (pull_request) Successful in 53s
Golang CI lint / golangci (stable, ubuntu-latest-arm64) (pull_request) Successful in 1m0s
Lint Markdown files / markdown-lint (pull_request) Successful in 11s
Golang Tests / unittest (stable, ubuntu-latest-amd64) (push) Successful in 4m53s
Golang CI lint / golangci (stable, ubuntu-latest-amd64) (push) Successful in 2m24s
Golang Tests / unittest (stable, ubuntu-latest-amd64) (pull_request) Successful in 3m19s
Golang CI lint / golangci (stable, ubuntu-latest-amd64) (pull_request) Successful in 2m4s
2025-08-11 13:06:39 +00:00
8 changed files with 62 additions and 31 deletions

View File

@ -1,15 +1,13 @@
# EditorConfig is awesome: https://EditorConfig.org
# top-most EditorConfig file
# Editor configuration, see http://editorconfig.org
root = true
[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
end_of_line = lf
indent_size = 2
indent_style = space
insert_final_newline = false
trim_trailing_whitespace = true
[Makefile]
[{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'

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,9 +26,9 @@ 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:

View File

@ -8,10 +8,9 @@ on:
jobs:
update-description-on-hub-docker-io:
runs-on:
- ubuntu-latest
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

2
go.mod
View File

@ -2,7 +2,7 @@ module git.cryptic.systems/volker.raschek/civ
go 1.24
toolchain go1.24.6
toolchain go1.25.0
require (
git.cryptic.systems/volker.raschek/dockerutils v0.2.0