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.