Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating windows build constraints #241

Merged
merged 1 commit into from
Mar 29, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ on:

jobs:
test:
runs-on: 'windows-2019'
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-2019, windows-2022, ubuntu-latest]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
Expand Down
3 changes: 3 additions & 0 deletions fileinfo_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
//go:build windows
// +build windows

package winio

import (
Expand Down
2 changes: 0 additions & 2 deletions pkg/guid/guid.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// +build windows

// Package guid provides a GUID type. The backing structure for a GUID is
// identical to that used by the golang.org/x/sys/windows GUID type.
// There are two main binary encodings used for a GUID, the big-endian encoding,
Expand Down
1 change: 1 addition & 0 deletions pkg/guid/guid_nonwindows.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !windows
// +build !windows

package guid
Expand Down
2 changes: 0 additions & 2 deletions pkg/guid/guid_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// +build windows

package guid

import (
Expand Down
3 changes: 3 additions & 0 deletions pkg/guid/guid_windows.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
//go:build windows
// +build windows

package guid

import "golang.org/x/sys/windows"
Expand Down
3 changes: 3 additions & 0 deletions reparse.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
//go:build windows
// +build windows

package winio

import (
Expand Down