diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1176164..a0945b7 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -25,7 +25,10 @@ jobs: args: --verbose test-unit: - runs-on: ubuntu-20.04 + strategy: + matrix: + os: [ ubuntu-20,04, macos-14, windows-2022 ] + runs-on: ${{ matrix.os }} timeout-minutes: 20 steps: - uses: actions/setup-go@v5 diff --git a/logrotate_linux.go b/logrotate_unix.go similarity index 92% rename from logrotate_linux.go rename to logrotate_unix.go index 249fa90..cd44005 100644 --- a/logrotate_linux.go +++ b/logrotate_unix.go @@ -1,3 +1,5 @@ +//go:build !freebsd && !windows + package logrotate import (