Skip to content
This repository has been archived by the owner on Mar 5, 2024. It is now read-only.

Commit

Permalink
Update golang version
Browse files Browse the repository at this point in the history
Build tags changed between 1.16 and 1.17, so we need to have both
versions for now.
  • Loading branch information
Tomas Volf committed Jan 26, 2022
1 parent 7eff7fe commit 6eef80d
Show file tree
Hide file tree
Showing 11 changed files with 14 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ jobs:
steps:

- name: Set up Go
uses: actions/setup-go@v1
uses: actions/setup-go@v2
with:
go-version: '1.15'
go-version: '~1.17.0'

- name: Checkout code
uses: actions/checkout@v2
Expand Down Expand Up @@ -56,8 +56,8 @@ jobs:
- ubuntu-latest
- windows-latest
go:
- '1.14'
- '1.15'
- '~1.16.0'
- '~1.17.0'

steps:

Expand Down
1 change: 1 addition & 0 deletions fqdn_posix.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !windows
// +build !windows

package fqdn
Expand Down
1 change: 1 addition & 0 deletions fqdn_test_posix.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !windows
// +build !windows

package fqdn
Expand Down
1 change: 1 addition & 0 deletions fqdn_test_win.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build windows
// +build windows

package fqdn
Expand Down
1 change: 1 addition & 0 deletions fqdn_win.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build windows
// +build windows

package fqdn
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module github.com/Showmax/go-fqdn

go 1.15
go 1.16
1 change: 1 addition & 0 deletions log.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !DEBUG
// +build !DEBUG

package fqdn
Expand Down
1 change: 1 addition & 0 deletions log_debug.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build DEBUG
// +build DEBUG

package fqdn
Expand Down
1 change: 1 addition & 0 deletions util_posix.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !windows
// +build !windows

package fqdn
Expand Down
1 change: 1 addition & 0 deletions util_win.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build windows
// +build windows

package fqdn
Expand Down
1 change: 1 addition & 0 deletions util_win_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build windows
// +build windows

package fqdn
Expand Down

0 comments on commit 6eef80d

Please sign in to comment.