Compare commits

..

1 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
6 changed files with 35 additions and 69 deletions

View File

@ -1,42 +1,24 @@
# name: "Run Golang tests"
name: Golang Tests
# on:
# pull_request:
# types: [ "opened", "reopened", "synchronize" ]
# push:
# branches: [ '**' ]
# tags-ignore: [ '**' ]
# workflow_dispatch: {}
on:
pull_request:
types: [ "opened", "reopened", "synchronize" ]
push:
branches: [ '**' ]
tags-ignore: [ '**' ]
# jobs:
# 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/setup-go@v5.5.0
# with:
# go-version: ${{ matrix.go }}
# - 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

@ -1,4 +1,4 @@
name: "Lint Golang files"
name: Golang CI lint
on:
pull_request:
@ -6,14 +6,12 @@ on:
push:
branches: [ '**' ]
tags-ignore: [ '**' ]
workflow_dispatch: {}
permissions:
contents: read
jobs:
golangci:
name: "Run golang CI linter"
runs-on: ${{ matrix.os }}
strategy:
matrix:
@ -26,4 +24,4 @@ jobs:
go-version: ${{ matrix.go }}
- uses: golangci/golangci-lint-action@v8.0.0
with:
version: v2.3.0 # renovate: datasource=github-releases depName=golangci/golangci-lint
version: v2.1

View File

@ -1,19 +1,19 @@
name: "Lint Markdown files"
name: Markdown linter
on:
pull_request:
types: [ "opened", "reopened", "synchronize" ]
push:
branches: [ '*' ]
tags-ignore: [ '*' ]
branches: [ '**' ]
tags-ignore: [ '**' ]
workflow_dispatch: {}
jobs:
markdown-lint:
name: "Run markdown linter"
runs-on: ubuntu-latest
runs-on:
- ubuntu-latest
steps:
- uses: actions/checkout@v4.3.0
- uses: DavidAnson/markdownlint-cli2-action@v19.1.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,8 +9,8 @@ permissions:
jobs:
release:
name: "Release application"
runs-on: ubuntu-latest
runs-on:
- ubuntu-latest
steps:
- uses: actions/checkout@v4.3.0
- uses: docker/setup-qemu-action@v3.6.0
@ -28,11 +28,10 @@ jobs:
GOPROXY: ${{ vars.GOPROXY }}
uses: goreleaser/goreleaser-action@v6.3.0
with:
version: v2.11.2 # renovate: datasource=github-releases depName=goreleaser/goreleaser
version: "~> v2"
args: release --clean
sync-to-hub-docker-io:
name: "Upload Images to docker.io"
needs:
- release
runs-on: ubuntu-latest

View File

@ -17,4 +17,4 @@ jobs:
username: ${{ secrets.DOCKER_IO_USERNAME }}
password: ${{ secrets.DOCKER_IO_PASSWORD }}
repository: volkerraschek/tarr
readme-filepath: README.md
readme-filepath: README.md

View File

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