From faba8bc2866fe2ff8ee683896e51c68916b5e364 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eduardo=20Aguilar=20Y=C3=A9pez?= Date: Wed, 17 Apr 2024 10:36:20 -0600 Subject: [PATCH] chore: upgrade zerolog adapter deps versions (#13) --- .github/workflows/tag_adapters.yml | 4 +++- adapters/slog/options.go | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tag_adapters.yml b/.github/workflows/tag_adapters.yml index 9a3a111..1ba9fd3 100644 --- a/.github/workflows/tag_adapters.yml +++ b/.github/workflows/tag_adapters.yml @@ -34,7 +34,9 @@ jobs: uses: tj-actions/changed-files@v26.1 with: files: | - ./adapters/${{ matrix.adapter }}/** + ./adapters/${{ matrix.adapter }}/**/*.go + ./adapters/${{ matrix.adapter }}/go.mod + ./adapters/${{ matrix.adapter }}/go.sum - name: Config Git User if: steps.check.outputs.any_changed == 'true' diff --git a/adapters/slog/options.go b/adapters/slog/options.go index e9355b6..98776a5 100644 --- a/adapters/slog/options.go +++ b/adapters/slog/options.go @@ -13,6 +13,7 @@ type options struct { logger *slog.Logger } +// Option is a function that configures the adapter. type Option func(*options) // WithLevel sets the log level for the logger.