Skip to content

Commit

Permalink
Add go1.21 and macOS support (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
mstmdev authored Oct 2, 2023
1 parent 39d9962 commit 47966c3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ jobs:
build:
strategy:
matrix:
go: [ '1.19','1.20' ]
os: [ 'ubuntu-latest', 'windows-latest' ]
go: [ '1.19', '1.20', '1.21' ]
os: [ 'ubuntu-latest', 'windows-latest', 'macos-latest' ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
Expand Down
7 changes: 7 additions & 0 deletions hosts_test.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package main

import "testing"

func TestPrintHosts(t *testing.T) {
printHosts()
}

0 comments on commit 47966c3

Please sign in to comment.