diff options
| author | Kyren223 <Kyren223@proton.me> | 2025-01-08 23:33:31 +0200 |
|---|---|---|
| committer | Kyren223 <Kyren223@proton.me> | 2025-01-08 23:33:31 +0200 |
| commit | fb0a6ba8b4b6c1852b28d7bfd0682cdd8206ff9a (patch) | |
| tree | d4114db5d71d2c43b07f61b63ae89154e3f30aff | |
| parent | 576adb547cac5a3484aa1c53881e69bf0f729afd (diff) | |
Trying to fix CD, broke CI on purpose to see if it fails
| -rw-r--r-- | .github/workflows/cd.yml | 9 | ||||
| -rw-r--r-- | cmd/client/main.go | 2 |
2 files changed, 3 insertions, 8 deletions
diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 0c6c58a..aeeea19 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -12,13 +12,8 @@ jobs: timeout-minutes: 5 steps: - - name: Check out code - uses: actions/checkout@v4 - - - name: Set up Go - uses: actions/setup-go@v5 - with: - go-version: "1.23.2" + - name: Runs CI (will checkout the repo) + uses: ./.github/workflows/ci.yml - name: Build executable run: GOOS=linux GOARCH=amd64 go build ./cmd/server -o ./eko-server diff --git a/cmd/client/main.go b/cmd/client/main.go index d33120b..efac6f3 100644 --- a/cmd/client/main.go +++ b/cmd/client/main.go @@ -7,7 +7,7 @@ import ( "github.com/kyren223/eko/internal/client" ) -func main() { +func main(){ logFile, err := os.OpenFile("client.log", os.O_APPEND|os.O_CREATE|os.O_WRONLY|os.O_TRUNC, 0600) if err != nil { log.Fatalln(err) |
