CI: use go 1.21.5 (#2640)

* use go 1.21.5
* Simpler go:build directives
This commit is contained in:
mmetc 2023-12-06 12:38:36 +01:00 committed by GitHub
parent 1ab4487b65
commit 90d3a21853
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
19 changed files with 16 additions and 20 deletions

View file

@ -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

View file

@ -14,7 +14,7 @@ jobs:
build:
strategy:
matrix:
go-version: ["1.21.4"]
go-version: ["1.21.5"]
name: "Build + tests"
runs-on: ubuntu-latest

View file

@ -10,7 +10,7 @@ jobs:
build:
strategy:
matrix:
go-version: ["1.21.4"]
go-version: ["1.21.5"]
name: "Build + tests"
runs-on: ubuntu-latest

View file

@ -11,7 +11,7 @@ jobs:
build:
strategy:
matrix:
go-version: ["1.21.4"]
go-version: ["1.21.5"]
name: "Build + tests"
runs-on: ubuntu-latest

View file

@ -23,7 +23,7 @@ jobs:
build:
strategy:
matrix:
go-version: ["1.21.4"]
go-version: ["1.21.5"]
name: Build
runs-on: windows-2019

View file

@ -22,7 +22,7 @@ jobs:
build:
strategy:
matrix:
go-version: ["1.21.4"]
go-version: ["1.21.5"]
name: "Build + tests"
runs-on: windows-2022

View file

@ -34,7 +34,7 @@ jobs:
build:
strategy:
matrix:
go-version: ["1.21.4"]
go-version: ["1.21.5"]
name: "Build + tests"
runs-on: ubuntu-latest

View file

@ -14,7 +14,7 @@ jobs:
build:
strategy:
matrix:
go-version: ["1.21.4"]
go-version: ["1.21.5"]
name: Build and upload binary package
runs-on: ubuntu-latest

View file

@ -1,5 +1,5 @@
# vim: set ft=dockerfile:
ARG GOVERSION=1.21.4
ARG GOVERSION=1.21.5
FROM golang:${GOVERSION}-alpine AS build

View file

@ -1,5 +1,5 @@
# vim: set ft=dockerfile:
ARG GOVERSION=1.21.4
ARG GOVERSION=1.21.5
FROM golang:${GOVERSION}-bookworm AS build

View file

@ -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

View file

@ -1,5 +1,4 @@
//go:build linux || freebsd || netbsd || openbsd || solaris || !windows
// +build linux freebsd netbsd openbsd solaris !windows
//go:build !windows
package main

View file

@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.
//go:build windows
// +build windows
package main

View file

@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.
//go:build windows
// +build windows
package main

View file

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build windows
//go:build windows
package main

View file

@ -1,4 +1,4 @@
// +build linux freebsd netbsd openbsd solaris !windows
//go:build !windows
package fileacquisition

View file

@ -1,4 +1,4 @@
// +build windows
//go:build windows
package fileacquisition

View file

@ -1,5 +1,4 @@
//go:build windows
// +build windows
package wineventlogacquisition

View file

@ -1,5 +1,5 @@
# vim: set ft=yaml.ansible:
---
golang_version: "1.21.4"
golang_version: "1.21.5"
golang_install_dir: "/opt/go/{{ golang_version }}"