Skip to content

Commit 7e28f9e

Browse files
committed
add GH Action to ensure a build with Go 1.18
1 parent 903730a commit 7e28f9e

File tree

2 files changed

+26
-1
lines changed

2 files changed

+26
-1
lines changed

.github/workflows/all.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
on:
2+
push:
3+
branches:
4+
- '*'
5+
tags-ignore:
6+
- '*'
7+
pull_request:
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
13+
strategy:
14+
fail-fast: false
15+
matrix:
16+
go_version:
17+
- 1.18
18+
19+
steps:
20+
- uses: actions/checkout@v4
21+
22+
- uses: actions/setup-go@v5
23+
go-version: ${{ matrix.go_version }}
24+
25+
- run: go build main/migration_verifier.go

internal/verifier/summary.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ func (verifier *Verifier) printChangeEventStatistics(builder *strings.Builder) {
386386
"0",
387387
fmt.Sprintf("%d total, across %d namespace(s)", totalEvents, activeNamespacesCount),
388388
)
389-
builder.WriteString(fmt.Sprintf("Change events this generation: %s\n", eventsDescr))
389+
builder.WriteString(fmt.Sprintf("\nChange events this generation: %s\n", eventsDescr))
390390

391391
if totalEvents == 0 {
392392
return

0 commit comments

Comments
 (0)