Skip to content

Commit

Permalink
resolves #45 add Darwin support
Browse files Browse the repository at this point in the history
Signed-off-by: Marat Radchenko <[email protected]>
  • Loading branch information
slonopotamus committed Nov 25, 2024
1 parent f432e1c commit 3274f42
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 13 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,23 +17,23 @@ jobs:
fetch-depth: 1
- uses: actions/setup-go@v5
with:
go-version: 1.18.x
go-version: 1.21.x
- name: golangci-lint
uses: golangci/[email protected]
with:
version: v1.45.0
version: v1.62.0
args: --verbose

test-unit:
strategy:
matrix:
os: [ ubuntu-20.04, windows-2022 ]
os: [ ubuntu-20.04, macos-14, windows-2022 ]
runs-on: ${{ matrix.os }}
timeout-minutes: 20
steps:
- uses: actions/setup-go@v5
with:
go-version: 1.18.x
go-version: 1.21.x
- uses: actions/[email protected]
with:
fetch-depth: 1
Expand Down
9 changes: 0 additions & 9 deletions logrotate_freebsd.go

This file was deleted.

2 changes: 2 additions & 0 deletions logrotate_linux.go → logrotate_unix.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build unix

package logrotate

import (
Expand Down

0 comments on commit 3274f42

Please sign in to comment.