Skip to content

Commit 7e2e4af

Browse files
committed
updating v3 workflows
- only trigger v3 builds on v3 releases - removing docs generation - setting go version to stable
1 parent 963f1c3 commit 7e2e4af

File tree

3 files changed

+3
-59
lines changed

3 files changed

+3
-59
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,6 @@
11
name: build
22

33
on:
4-
push:
5-
branches:
6-
- "main"
7-
- "feature-*"
8-
- "bug-*"
9-
paths:
10-
- "src/**"
11-
- "Dockerfile"
12-
- "go.mod"
13-
- "go.sum"
144
release:
155
types: [published]
166

@@ -28,9 +18,9 @@ jobs:
2818
images: |
2919
tibiadata/tibiadata-api-go
3020
ghcr.io/tibiadata/tibiadata-api-go
21+
flavor: |
22+
latest=false
3123
tags: |
32-
type=edge
33-
type=ref,event=branch,enable=${{ (github.ref != 'refs/heads/main') }}
3424
type=semver,pattern={{version}}
3525
type=semver,pattern={{major}}.{{minor}}
3626

.github/workflows/codecov.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- name: Setup go
1515
uses: actions/setup-go@v3
1616
with:
17-
go-version: ^1.18
17+
go-version: stable
1818

1919
- name: Runing tests for coverage
2020
run: |

.github/workflows/documentation.yml

Lines changed: 0 additions & 46 deletions
This file was deleted.

0 commit comments

Comments
 (0)