feat: linting
This commit is contained in:
parent
0414cf6dfb
commit
5b938091d7
2 changed files with 103 additions and 7 deletions
20
.github/workflows/release.yml
vendored
20
.github/workflows/release.yml
vendored
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue