Skip to content

Fix slog handler creation after dependencies update #149

Fix slog handler creation after dependencies update

Fix slog handler creation after dependencies update #149

Workflow file for this run

name: Tests
on: [push]
jobs:
tests:
strategy:
matrix:
env:
- os: ubuntu-latest
coverage: true
- os: macos-latest
- os: windows-latest
continue-on-error: true
runs-on: ${{ matrix.env.os }}
steps:
- uses: actions/setup-go@v3
with:
go-version: "1.20"
- uses: actions/checkout@v3
- run: go vet ./...
- run: go test -v ${{ matrix.env.coverage && '-coverprofile=profile.cov' }} ./...
continue-on-error: ${{ matrix.env['continue-on-error'] }}
- uses: shogo82148/actions-goveralls@v1
if: ${{ matrix.env.coverage }}
with:
path-to-profile: profile.cov
- uses: codecov/codecov-action@v3
if: ${{ matrix.env.coverage }}
with:
files: profile.cov