* use go 1.21.5 * Simpler go:build directives
@@ -15,7 +15,7 @@ jobs:
build:
strategy:
matrix:
- go-version: ["1.21.4"]
+ go-version: ["1.21.5"]
name: "Build + tests"
runs-on: ubuntu-latest
@@ -14,7 +14,7 @@ jobs:
@@ -10,7 +10,7 @@ jobs:
@@ -11,7 +11,7 @@ jobs:
@@ -23,7 +23,7 @@ jobs:
name: Build
runs-on: windows-2019
@@ -22,7 +22,7 @@ jobs:
runs-on: windows-2022
@@ -34,7 +34,7 @@ jobs:
name: Build and upload binary package
@@ -1,5 +1,5 @@
# vim: set ft=dockerfile:
-ARG GOVERSION=1.21.4
+ARG GOVERSION=1.21.5
FROM golang:${GOVERSION}-alpine AS build
FROM golang:${GOVERSION}-bookworm AS build
@@ -27,7 +27,7 @@ stages:
- task: GoTool@0
displayName: "Install Go 1.20"
inputs:
- version: '1.21.4'
+ version: '1.21.5'
- pwsh: |
choco install -y make
@@ -1,5 +1,4 @@
-//go:build linux || freebsd || netbsd || openbsd || solaris || !windows
-// +build linux freebsd netbsd openbsd solaris !windows
+//go:build !windows
package main
@@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.
//go:build windows
-// +build windows
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
+//go:build windows
@@ -1,4 +1,4 @@
package fileacquisition
package wineventlogacquisition
# vim: set ft=yaml.ansible:
---
-golang_version: "1.21.4"
+golang_version: "1.21.5"
golang_install_dir: "/opt/go/{{ golang_version }}"