From 89511120c275e69bc3d6ce8670082fd05ba48c54 Mon Sep 17 00:00:00 2001 From: "F.D.Castel" Date: Tue, 31 Mar 2026 21:00:29 -0300 Subject: [PATCH] fix(ci): use 'go run .' instead of 'go run main.go' in gha workflow The Login step in the gha.yml workflow used 'go run main.go' which only compiles the single file main.go. After PR #480 added platform-specific files (logpath_unix.go, logpath_windows.go), this caused a build error: main.go: undefined: GetLogFilePath The fix is to use 'go run .' which compiles all files in the package, including the platform-specific files with their build constraints. --- .github/workflows/gha.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/gha.yml b/.github/workflows/gha.yml index 9762c878..0d145087 100644 --- a/.github/workflows/gha.yml +++ b/.github/workflows/gha.yml @@ -46,7 +46,7 @@ jobs: run: docker run -d -p 2222:22 sshserver:latest - name: Login - run: go run main.go login github --print-id-token + run: go run . login github --print-id-token - name: SSH into Container with opkssh run: |