From 8708af6a5a9ef87a25b35928ce7fe13132a9317a Mon Sep 17 00:00:00 2001 From: Markus Pesch Date: Tue, 12 Aug 2025 08:24:30 +0200 Subject: [PATCH] fix(ci): rename workflows --- ...golangci-lint.yaml => golang-linters.yaml} | 6 +++-- .gitea/workflows/golang-tests.yaml | 22 +++++++++++++++++-- .gitea/workflows/markdown-linters.yaml | 12 +++++----- .gitea/workflows/release.yaml | 9 ++++---- 4 files changed, 35 insertions(+), 14 deletions(-) rename .gitea/workflows/{golangci-lint.yaml => golang-linters.yaml} (74%) diff --git a/.gitea/workflows/golangci-lint.yaml b/.gitea/workflows/golang-linters.yaml similarity index 74% rename from .gitea/workflows/golangci-lint.yaml rename to .gitea/workflows/golang-linters.yaml index 3748842..fab51bc 100644 --- a/.gitea/workflows/golangci-lint.yaml +++ b/.gitea/workflows/golang-linters.yaml @@ -1,4 +1,4 @@ -name: Golang CI lint +name: "Lint Golang files" on: pull_request: @@ -6,12 +6,14 @@ on: push: branches: [ '**' ] tags-ignore: [ '**' ] + workflow_dispatch: {} permissions: contents: read jobs: golangci: + name: "Run golang CI linter" runs-on: ${{ matrix.os }} strategy: matrix: @@ -24,4 +26,4 @@ jobs: go-version: ${{ matrix.go }} - uses: golangci/golangci-lint-action@v8.0.0 with: - version: v2.1 \ No newline at end of file + version: v2.1 # renovate: datasource=github-releases depName=golangci/golangci-lint diff --git a/.gitea/workflows/golang-tests.yaml b/.gitea/workflows/golang-tests.yaml index 413cc33..b731eef 100644 --- a/.gitea/workflows/golang-tests.yaml +++ b/.gitea/workflows/golang-tests.yaml @@ -1,4 +1,4 @@ -name: Golang Tests +name: "Run Golang tests" on: pull_request: @@ -6,9 +6,27 @@ 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.2.2 + # - 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: diff --git a/.gitea/workflows/markdown-linters.yaml b/.gitea/workflows/markdown-linters.yaml index b820c46..b7df5b8 100644 --- a/.gitea/workflows/markdown-linters.yaml +++ b/.gitea/workflows/markdown-linters.yaml @@ -1,19 +1,19 @@ -name: Markdown linter +name: "Lint Markdown files" on: pull_request: types: [ "opened", "reopened", "synchronize" ] push: - branches: [ '**' ] - tags-ignore: [ '**' ] + 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.2.2 - - uses: DavidAnson/markdownlint-cli2-action@v20.0.0 + - uses: DavidAnson/markdownlint-cli2-action@v19.1.0 with: globs: '**/*.md' diff --git a/.gitea/workflows/release.yaml b/.gitea/workflows/release.yaml index 0a93426..aa04988 100644 --- a/.gitea/workflows/release.yaml +++ b/.gitea/workflows/release.yaml @@ -1,4 +1,4 @@ -name: Release +name: "Release" on: push: @@ -9,8 +9,8 @@ permissions: jobs: release: - runs-on: - - ubuntu-latest + name: "Release application" + runs-on: ubuntu-latest steps: - uses: actions/checkout@v4.2.2 - uses: docker/setup-qemu-action@v3.6.0 @@ -28,10 +28,11 @@ 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: + name: "Upload Images to docker.io" needs: - release runs-on: ubuntu-latest