Compare commits

...

6 commits
v0.0.2 ... main

Author SHA1 Message Date
j
5c404c186e oops
All checks were successful
Build & Release Go Project / build (push) Successful in 43s
2025-06-17 16:04:37 +10:00
j
a34ab61193 missed full path of project
Some checks failed
Build & Release Go Project / build (push) Failing after 58s
2025-06-17 15:58:46 +10:00
j
3c2f929873 Go requires git installed
Some checks failed
Build & Release Go Project / build (push) Failing after 40s
2025-06-17 15:56:49 +10:00
j
4ba111ff96 Drop version back to version supported on debian 12
Some checks failed
Build & Release Go Project / build (push) Failing after 1m1s
2025-06-17 15:54:53 +10:00
j
339bb81ad1 wait no i need tag
Some checks failed
Build & Release Go Project / build (push) Failing after 38s
2025-06-17 15:52:31 +10:00
j
dd5135511b Remove tag for now 2025-06-17 15:52:24 +10:00
4 changed files with 8 additions and 5 deletions

View file

@ -35,7 +35,7 @@ jobs:
- name: Prepare Build Environment
run: |
apt update && apt -y install zip nodejs curl jq golang
apt update && apt -y install zip nodejs curl jq golang git
- name: Checkout repo
uses: actions/checkout@v4
@ -45,6 +45,9 @@ jobs:
# Create the build directory for a consistent place to store binaries
mkdir -p build
# Do a quick tidy
go mod tidy
# Iterate over the cmd directory to compile all binaries found there
ls ./cmd | while read BINARY ; do
go build -v -o build/${BINARY} ./cmd/${BINARY}

View file

@ -2,8 +2,8 @@ package main
import (
"fmt"
"repobase.net/j/internal/greet"
"repobase.net/j/pkg/util"
"repobase.net/j/workflow-sample-go/internal/greet"
"repobase.net/j/workflow-sample-go/pkg/util"
)
func main() {

2
go.mod
View file

@ -1,2 +1,2 @@
module repobase.net/j/workflow-sample-go
go 1.22
go 1.19

View file

@ -1,6 +1,6 @@
package util
import fmt
import "fmt"
func PrintVersion() {
fmt.Println("v4.2.0")