Compare commits

11 Commits

Author SHA1 Message Date
8bb7ad51ee chore(deps): update actions
Some checks failed
Golang Tests / unittest (stable, ubuntu-latest-amd64) (push) Failing after 4s
Markdown linter / markdown-lint (push) Successful in 4s
Golang Tests / unittest (stable, ubuntu-latest-amd64) (pull_request) Failing after 4s
Golang CI lint / golangci (stable, ubuntu-latest-amd64) (pull_request) Failing after 29s
Markdown linter / markdown-lint (pull_request) Successful in 3s
Golang CI lint / golangci (stable, ubuntu-latest-amd64) (push) Failing after 2m2s
Golang Tests / unittest (stable, ubuntu-latest-arm64) (push) Failing after 12s
Golang CI lint / golangci (stable, ubuntu-latest-arm64) (push) Failing after 1m34s
Golang Tests / unittest (stable, ubuntu-latest-arm64) (pull_request) Failing after 11s
Golang CI lint / golangci (stable, ubuntu-latest-arm64) (pull_request) Failing after 1m19s
2025-08-11 13:25:50 +00:00
b525c82ccb chore(ci): add golangci-lint
Some checks failed
Golang Tests / unittest (stable, ubuntu-latest-amd64) (push) Failing after 5s
Golang CI lint / golangci (stable, ubuntu-latest-amd64) (push) Failing after 26s
Markdown linter / markdown-lint (push) Successful in 4s
Golang Tests / unittest (stable, ubuntu-latest-arm64) (push) Failing after 16s
Golang CI lint / golangci (stable, ubuntu-latest-arm64) (push) Failing after 2m37s
2025-06-01 12:18:46 +02:00
d39989d224 chore(ci): update workflow_dispatch for update docker hub description
All checks were successful
Markdown linter / markdown-lint (push) Successful in 16s
2025-05-31 22:04:27 +02:00
dfe4fd60cf chore(deps): update davidanson/markdownlint-cli2-action action to v20
All checks were successful
Markdown linter / markdown-lint (pull_request) Successful in 4s
Markdown linter / markdown-lint (push) Successful in 4s
2025-05-29 13:18:28 +00:00
d1e111fe0d feat(riscv64): add support
All checks were successful
Markdown linter / markdown-lint (push) Successful in 14s
2025-05-29 13:16:30 +02:00
f40cb5f965 chore(ci): use DavidAnson/markdownlint-cli2-action v19.1.0
All checks were successful
Markdown linter / markdown-lint (push) Successful in 4s
2025-05-29 13:15:43 +02:00
02d980440f chore(deps): update git.cryptic.systems/volker.raschek/markdownlint docker tag to v0.45.0
All checks were successful
Markdown linter / markdown-lint (pull_request) Successful in 1m11s
Markdown linter / markdown-lint (push) Successful in 12s
2025-05-28 13:13:08 +00:00
7baa16a257 chore(ci): remove golang tests
All checks were successful
Markdown linter / markdown-lint (push) Successful in 2s
2025-05-13 20:34:31 +02:00
df3192ab75 chore(ci): remove golangci-linter
Some checks failed
Markdown linter / markdown-lint (push) Successful in 11s
Golang Tests / unittest (push) Failing after 17s
2025-05-13 20:26:33 +02:00
b316124df4 chore(ci): add golangci-linter
Some checks failed
Markdown linter / markdown-lint (push) Successful in 12s
Golang Tests / unittest (push) Failing after 20s
golangci-lint / lint (stable, ubuntu-latest) (push) Failing after 1m10s
2025-05-13 20:21:56 +02:00
fe9a5278f7 chore(deps): update module github.com/fsnotify/fsnotify to v1.9.0
All checks were successful
Markdown linter / markdown-lint (pull_request) Successful in 15s
Markdown linter / markdown-lint (push) Successful in 11s
2025-05-13 16:14:15 +00:00
8 changed files with 81 additions and 30 deletions

View File

@ -1,21 +1,24 @@
# name: Golang Tests
name: Golang Tests
# on:
# pull_request:
# types: [ "opened", "reopened", "synchronize" ]
# push:
# branches: [ '**' ]
# tags-ignore: [ '**' ]
on:
pull_request:
types: [ "opened", "reopened", "synchronize" ]
push:
branches: [ '**' ]
tags-ignore: [ '**' ]
# jobs:
# unittest:
# runs-on:
# - ubuntu-latest
# steps:
# - uses: actions/checkout@v4.2.2
# - uses: actions/setup-go@v5.5.0
# with:
# go-version: stable
# - env:
# GOPROXY: ${{ vars.GOPROXY }}
# run: make test/unit
jobs:
unittest:
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/unit

View File

@ -0,0 +1,27 @@
name: Golang CI lint
on:
pull_request:
types: [ "opened", "reopened", "synchronize" ]
push:
branches: [ '**' ]
tags-ignore: [ '**' ]
permissions:
contents: read
jobs:
golangci:
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 }}
- uses: golangci/golangci-lint-action@v8.0.0
with:
version: v2.1

View File

@ -10,11 +10,10 @@ on:
jobs:
markdown-lint:
container:
image: git.cryptic.systems/volker.raschek/markdownlint:0.44.0
runs-on:
- ubuntu-latest
steps:
- uses: actions/checkout@v4.2.2
- name: Lint Markdown files
run: markdownlint --config .markdownlint.yaml .
- uses: actions/checkout@v4.3.0
- uses: DavidAnson/markdownlint-cli2-action@v20.0.0
with:
globs: '**/*.md'

View File

@ -12,12 +12,12 @@ jobs:
runs-on:
- ubuntu-latest
steps:
- uses: actions/checkout@v4.2.2
- uses: actions/checkout@v4.3.0
- uses: docker/setup-qemu-action@v3.6.0
- uses: actions/setup-go@v5.5.0
with:
go-version: stable
- uses: docker/login-action@v3.4.0
- uses: docker/login-action@v3.5.0
with:
registry: git.cryptic.systems
username: ${{ github.repository_owner }}

View File

@ -4,13 +4,14 @@ on:
push:
branches: [ 'master' ]
paths: [ 'README.md' ]
workflow_dispatch: {}
jobs:
update-description-on-hub-docker-io:
runs-on:
- ubuntu-latest
steps:
- uses: actions/checkout@v4.2.2
- uses: actions/checkout@v4.3.0
- uses: peter-evans/dockerhub-description@v4.0.2
with:
username: ${{ secrets.DOCKER_IO_USERNAME }}

View File

@ -34,6 +34,7 @@ builds:
- amd64
- arm
- arm64
- riscv64
goarm:
- "6"
- "7"
@ -171,6 +172,25 @@ dockers:
skip_push: false
use: buildx
- build_flag_templates:
- --label=org.opencontainers.image.created={{ time "2006-01-02T15:04:05Z07:00" }}
- --label=org.opencontainers.image.description={{ .ProjectName }}
- --label=org.opencontainers.image.documentation={{ .ProjectName }}
- --label=org.opencontainers.image.revision={{ .FullCommit }}
- --label=org.opencontainers.image.source={{ .GitURL }}
- --label=org.opencontainers.image.title={{ .ProjectName }}
- --label=org.opencontainers.image.url=https://git.cryptic.systems/volker.raschek/{{ .ProjectName }}
- --label=org.opencontainers.image.version={{ trimprefix .Tag "v" }}
- --platform=linux/riscv64
- --pull
dockerfile: Dockerfile
goarch: riscv64
goos: linux
image_templates:
- 'git.cryptic.systems/volker.raschek/{{ .ProjectName }}:{{ trimprefix .Tag "v" }}-riscv64'
skip_push: false
use: buildx
docker_manifests:
- name_template: 'git.cryptic.systems/volker.raschek/{{ .ProjectName }}:{{ trimprefix .Tag "v" }}'
image_templates:
@ -178,6 +198,7 @@ docker_manifests:
- 'git.cryptic.systems/volker.raschek/{{ .ProjectName }}:{{ trimprefix .Tag "v" }}-arm-v6'
- 'git.cryptic.systems/volker.raschek/{{ .ProjectName }}:{{ trimprefix .Tag "v" }}-arm-v7'
- 'git.cryptic.systems/volker.raschek/{{ .ProjectName }}:{{ trimprefix .Tag "v" }}-arm64'
- 'git.cryptic.systems/volker.raschek/{{ .ProjectName }}:{{ trimprefix .Tag "v" }}-riscv64'
gitea_urls:
api: https://git.cryptic.systems/api/v1

2
go.mod
View File

@ -3,7 +3,7 @@ module git.cryptic.systems/volker.raschek/tarr
go 1.22.6
require (
github.com/fsnotify/fsnotify v1.8.0
github.com/fsnotify/fsnotify v1.9.0
github.com/sirupsen/logrus v1.9.3
github.com/spf13/cobra v1.9.1
github.com/stretchr/testify v1.10.0

4
go.sum
View File

@ -2,8 +2,8 @@ github.com/cpuguy83/go-md2man/v2 v2.0.6/go.mod h1:oOW0eioCTA6cOiMLiUPZOpcVxMig6N
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/fsnotify/fsnotify v1.8.0 h1:dAwr6QBTBZIkG8roQaJjGof0pp0EeF+tNV7YBP3F/8M=
github.com/fsnotify/fsnotify v1.8.0/go.mod h1:8jBTzvmWwFyi3Pb8djgCCO5IBqzKJ/Jwo8TRcHyHii0=
github.com/fsnotify/fsnotify v1.9.0 h1:2Ml+OJNzbYCTzsxtv8vKSFD9PbJjmhYF14k/jKC7S9k=
github.com/fsnotify/fsnotify v1.9.0/go.mod h1:8jBTzvmWwFyi3Pb8djgCCO5IBqzKJ/Jwo8TRcHyHii0=
github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8=
github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=