Skip to content

Commit

Permalink
Add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dorner committed Jan 18, 2024
1 parent c4a45d4 commit 4b62e4b
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
15 changes: 15 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,21 @@ on:
workflow_dispatch:

jobs:
test:
runs-on: [ubuntu-latest]
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: '1.21'
- run: git reset --hard
- run: git clean -f -d
- run: go test ./...

build_and_deploy:
runs-on: [ubuntu-latest]
steps:
Expand Down
2 changes: 1 addition & 1 deletion avro/type.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ type NamedType interface {
}

func LogMsg(msg string, args ...any) {
fmt.Fprintf(os.Stderr, fmt.Sprintf(msg, args))
fmt.Fprintf(os.Stderr, fmt.Sprintf(msg, args...))
fmt.Fprintln(os.Stderr)
}

Expand Down

0 comments on commit 4b62e4b

Please sign in to comment.