feat: linting
Some checks failed
Sample Testing / my_job (push) Failing after 48s
CI / lint (push) Failing after 1m49s
CI / release (push) Failing after 2m55s

This commit is contained in:
Marcel S. Henselin 2026-04-17 16:09:15 +02:00
parent 0414cf6dfb
commit 5b938091d7
2 changed files with 103 additions and 7 deletions

View file

@ -16,11 +16,16 @@ jobs:
lint:
runs-on: stackit-docker
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
- name: CI checkout
uses: actions/checkout@v6
- name: Setup GO
uses: actions/setup-go@v6
with:
go-version: 1.26
- uses: golangci/golangci-lint-action@v3
- name: GO Linting
uses: golangci/golangci-lint-action@v3
# build:
# runs-on: stackit-docker
@ -40,9 +45,11 @@ jobs:
runs-on: stackit-docker
# needs: build
steps:
- uses: actions/checkout@v6
- name: Checkout code
uses: actions/checkout@v6
- uses: go-semantic-release/action@v1
- name: Semantic Release
uses: go-semantic-release/action@v1
id: semrel
with:
github-token: ${{ env.FORGEJO_TOKEN }}
@ -51,8 +58,7 @@ jobs:
changelog-file: CHANGELOG.md
changelog-generator-opt: "emojis=true"
-
name: Login to Docker Hub
- name: Login to Docker Hub
if: steps.semrel.outputs.version != ''
uses: docker/login-action@v4
with: