Skip to content

Commit f5f8d59

Browse files
authored
Merge pull request #400 from miabbott/moar_ci
ci: add testing using 1.16/1.17/1.18
2 parents a9a7ef1 + 227311e commit f5f8d59

File tree

8 files changed

+9
-2
lines changed

8 files changed

+9
-2
lines changed

.github/workflows/go.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: Go
3-
on:
3+
"on":
44
push:
55
branches: [main]
66
pull_request:
@@ -19,7 +19,7 @@ jobs:
1919
runs-on: ubuntu-latest
2020
strategy:
2121
matrix:
22-
go: ['1.14', '1.15']
22+
go: ['1.17', '1.18']
2323
steps:
2424
- run: sudo apt-get -qq update
2525
- name: Install libsystemd-dev

activation/files_unix.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
//go:build !windows
1516
// +build !windows
1617

1718
// Package activation implements primitives for systemd socket activation.

examples/activation/activation.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
//go:build ignore
1516
// +build ignore
1617

1718
// Activation example used by the activation unit tests.

examples/activation/httpserver/httpserver.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
//go:build ignore
1516
// +build ignore
1617

1718
package main

examples/activation/listen.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
//go:build ignore
1516
// +build ignore
1617

1718
// Activation example used by the activation unit tests.

examples/activation/udpconn.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
//go:build ignore
1516
// +build ignore
1617

1718
// Activation example used by the activation unit tests.

util/util_cgo.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
//go:build cgo
1516
// +build cgo
1617

1718
package util

util/util_stub.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
//go:build !cgo
1516
// +build !cgo
1617

1718
package util

0 commit comments

Comments
 (0)