Skip to content

Commit c49476c

Browse files
committed
Fix CI formatting and toolchain hygiene
1 parent eb7bb98 commit c49476c

52 files changed

Lines changed: 74 additions & 76 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/actions/setup-deps/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ runs:
4141
- name: Create workspace
4242
shell: bash
4343
run: |
44-
printf 'go 1.26.3\n\nuse (\n\t.\n\t./external/eyrie\n\t./external/inspect\n\t./external/sight\n\t./external/tok\n\t./external/trace\n\t./external/yaad\n)\n' > go.work
44+
printf 'go 1.26.4\n\nuse (\n\t.\n\t./external/eyrie\n\t./external/inspect\n\t./external/sight\n\t./external/tok\n\t./external/trace\n\t./external/yaad\n)\n' > go.work

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ concurrency:
1919
cancel-in-progress: true
2020

2121
env:
22-
GO_VERSION: "1.26.3"
22+
GO_VERSION: "1.26.4"
2323

2424
jobs:
2525
# -------------------------------------------------------------------------
@@ -260,7 +260,7 @@ jobs:
260260
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
261261
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c
262262
with:
263-
go-version: "1.26.3"
263+
go-version: "1.26.4"
264264
cache: true
265265
- name: deadcode
266266
run: |

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: Set up Go
2828
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
2929
with:
30-
go-version: "1.26.3"
30+
go-version: "1.26.4"
3131
cache: true
3232

3333
- name: Run GoReleaser

Dockerfile

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,16 @@
11
# Build stage
2-
FROM golang:1.26.3-alpine AS builder
2+
FROM golang:1.26.4-alpine AS builder
33

44
RUN apk add --no-cache git ca-certificates tzdata
55

66
WORKDIR /build
77

8-
# Clone eyrie (unpublished dependency with local-only packages)
9-
RUN git clone --depth=1 https://github.com/GrayCodeAI/eyrie.git /eyrie
10-
118
COPY go.mod go.sum ./
129
RUN go mod download
1310

1411
COPY . .
1512
# Add replace after source copy so it doesn't get overwritten
16-
RUN echo "" >> go.mod && echo "replace github.com/GrayCodeAI/eyrie => /eyrie" >> go.mod && go mod tidy
13+
RUN echo "" >> go.mod && echo "replace github.com/GrayCodeAI/eyrie => ./external/eyrie" >> go.mod && go mod tidy
1714

1815
RUN CGO_ENABLED=0 GOOS=linux go build -trimpath -mod=mod \
1916
-ldflags="-s -w -X main.Version=$(git describe --tags --always 2>/dev/null || echo dev)" \

ai_passage.md

Lines changed: 0 additions & 1 deletion

cmd/autonomy_tiers.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,4 +126,4 @@ func autonomyFromSettings(n int) engine.AutonomyLevel {
126126
default:
127127
return 0
128128
}
129-
}
129+
}

cmd/autonomy_tiers_copy_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,4 @@ func TestFormatAutonomyTierMessage_NoArrowJargon(t *testing.T) {
3838
if !strings.Contains(msg, "Run") {
3939
t.Fatalf("expected tier name in message, got %q", msg)
4040
}
41-
}
41+
}

cmd/autonomy_tiers_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,4 @@ func TestAutonomyTierColorsDistinct(t *testing.T) {
5555
}
5656
seen[c] = true
5757
}
58-
}
58+
}

cmd/chat_config_constants.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ var configTabLabels = []string{"Gateways", "Models"}
1717

1818
// Config entry overlays (configEntry).
1919
const (
20-
configEntryNone = ""
21-
configEntryAPIKeyPaste = "apikey-paste"
22-
configEntryOllamaURL = "ollama-url"
23-
configEntryKeyView = "key-view"
20+
configEntryNone = ""
21+
configEntryAPIKeyPaste = "apikey-paste"
22+
configEntryOllamaURL = "ollama-url"
23+
configEntryKeyView = "key-view"
2424
configEntryXiaomiRegion = "xiaomi-region"
2525
)
2626

@@ -29,4 +29,4 @@ const (
2929
configProviderOllama = "ollama"
3030
)
3131

32-
const configDefaultOllamaURL = "http://localhost:11434/v1"
32+
const configDefaultOllamaURL = "http://localhost:11434/v1"

cmd/chat_config_deployment.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,4 +223,4 @@ func (m chatModel) rebuildSessionTransport() (chatModel, tea.Cmd) {
223223
syncSessionFromPersistedSelection(m.session, m.settings)
224224
m.invalidateConnStatus()
225225
return m, nil
226-
}
226+
}

0 commit comments

Comments
 (0)