Skip to content

slogr: add glue code for logging to slog.Handler and with slog.Logger #314

slogr: add glue code for logging to slog.Handler and with slog.Logger

slogr: add glue code for logging to slog.Handler and with slog.Logger #314

Workflow file for this run

name: Run tests
on: [ push, pull_request ]
permissions:
contents: read
jobs:
test:
strategy:
matrix:
version: [ '1.18', '1.19', '1.20', '1.21.0-rc.4' ]
platform: [ ubuntu-latest, macos-latest, windows-latest ]
runs-on: ${{ matrix.platform }}
steps:
- name: Install Go
uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1
with:
go-version: ${{ matrix.version }}
- name: Checkout code
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- name: Build
run: go build -v ./...
- name: Test
run: go test -v -race ./...