Skip to content

Commit 209dfc7

Browse files
committed
add Dialyzer to ci
1 parent f474f28 commit 209dfc7

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/ci_v28.0.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,10 @@ jobs:
129129
run: mix format --check-formatted
130130
if: ${{ matrix.lint }}
131131

132+
- name: Dialyzer
133+
run: mix dialyzer
134+
if: ${{ matrix.lint && github.event_name == 'push' && github.ref == 'refs/heads/main' }}
135+
132136
- name: Run tests
133137
run: mix test --only ${{ matrix.typesense }}:true --trace
134138

lib/open_api_typesense/operations/documents.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ defmodule OpenApiTypesense.Documents do
245245
246246
"""
247247
@doc since: "0.4.0"
248-
@spec import_documents(String.t(), String.t(), keyword) ::
248+
@spec import_documents(String.t(), list(map()), keyword) ::
249249
{:ok, String.t()} | {:error, OpenApiTypesense.ApiResponse.t()}
250250
def import_documents(collectionName, body, opts \\ []) do
251251
client = opts[:client] || @default_client

0 commit comments

Comments
 (0)