Skip to content

Commit 5f22bdc

Browse files
committed
Add workflow fix
1 parent 4e2935d commit 5f22bdc

4 files changed

Lines changed: 34 additions & 52 deletions

File tree

.github/workflows/buildcheck.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Build Check
2+
3+
on:
4+
push:
5+
branches:
6+
- "**"
7+
pull_request:
8+
branches:
9+
- "**"
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- name: Repository auschecken
17+
uses: actions/checkout@v4
18+
19+
- name: Go installieren
20+
uses: actions/setup-go@v5
21+
with:
22+
go-version: "1.22"
23+
24+
- name: Go Version anzeigen
25+
run: go version
26+
27+
- name: Dependencies herunterladen
28+
run: go mod download
29+
30+
- name: Build prüfen (kompilieren)
31+
run: go build ./...

.github/workflows/releasebuild.yml

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

internal/cli/handle.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import (
77

88
"text/tabwriter"
99

10+
"github.com/shadowdara/finder/internal/finderversion"
1011
"github.com/shadowdara/finder/internal/loader"
1112
"github.com/shadowdara/finder/internal/search"
1213
"github.com/shadowdara/finder/internal/structure"
@@ -18,7 +19,7 @@ import (
1819
// Function to search for a Template
1920
func Search(searchTemplate string, OutputType string, Verbose bool) error {
2021
if Verbose {
21-
fmt.Printf("%sStruct Finder v%s%s\n", color.Green, version, color.Reset)
22+
fmt.Printf("%sStruct Finder v%s%s\n", color.Green, finderversion.Version, color.Reset)
2223
}
2324

2425
templateName := searchTemplate

internal/finderversion/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
package finderversion
22

3-
const Version = "0.3.6"
3+
const Version = "0.3.7"

0 commit comments

Comments
 (0)