CI: use go 1.22.4 (#3095)

* CI: use go 1.22.4

* fix alpine build
This commit is contained in:
mmetc 2024-06-26 11:06:44 +02:00 committed by GitHub
parent a3bd9baec1
commit d4e6b75517
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 13 additions and 13 deletions

View file

@ -33,7 +33,7 @@ jobs:
- name: "Set up Go"
uses: actions/setup-go@v5
with:
go-version: "1.22.3"
go-version: "1.22.4"
- name: "Install bats dependencies"
env:

View file

@ -36,7 +36,7 @@ jobs:
- name: "Set up Go"
uses: actions/setup-go@v5
with:
go-version: "1.22.3"
go-version: "1.22.4"
- name: "Install bats dependencies"
env:

View file

@ -45,7 +45,7 @@ jobs:
- name: "Set up Go"
uses: actions/setup-go@v5
with:
go-version: "1.22.3"
go-version: "1.22.4"
- name: "Install bats dependencies"
env:

View file

@ -31,7 +31,7 @@ jobs:
- name: "Set up Go"
uses: actions/setup-go@v5
with:
go-version: "1.22.3"
go-version: "1.22.4"
- name: "Install bats dependencies"
env:

View file

@ -35,7 +35,7 @@ jobs:
- name: "Set up Go"
uses: actions/setup-go@v5
with:
go-version: "1.22.3"
go-version: "1.22.4"
- name: Build
run: make windows_installer BUILD_RE2_WASM=1

View file

@ -52,7 +52,7 @@ jobs:
- name: "Set up Go"
uses: actions/setup-go@v5
with:
go-version: "1.22.3"
go-version: "1.22.4"
cache-dependency-path: "**/go.sum"
# Initializes the CodeQL tools for scanning.

View file

@ -34,7 +34,7 @@ jobs:
- name: "Set up Go"
uses: actions/setup-go@v5
with:
go-version: "1.22.3"
go-version: "1.22.4"
- name: Build
run: |

View file

@ -126,7 +126,7 @@ jobs:
- name: "Set up Go"
uses: actions/setup-go@v5
with:
go-version: "1.22.3"
go-version: "1.22.4"
- name: Create localstack streams
run: |

View file

@ -25,7 +25,7 @@ jobs:
- name: "Set up Go"
uses: actions/setup-go@v5
with:
go-version: "1.22.3"
go-version: "1.22.4"
- name: Build the binaries
run: |

View file

@ -1,5 +1,5 @@
# vim: set ft=dockerfile:
FROM golang:1.22.3-alpine3.18 AS build
FROM golang:1.22.4-alpine3.20 AS build
ARG BUILD_VERSION
@ -20,7 +20,7 @@ RUN apk add --no-cache git g++ gcc libc-dev make bash gettext binutils-gold core
COPY . .
RUN make clean release DOCKER_BUILD=1 BUILD_STATIC=1 && \
RUN make clean release DOCKER_BUILD=1 BUILD_STATIC=1 CGO_CFLAGS="-D_LARGEFILE64_SOURCE" && \
cd crowdsec-v* && \
./wizard.sh --docker-mode && \
cd - >/dev/null && \

View file

@ -1,5 +1,5 @@
# vim: set ft=dockerfile:
FROM golang:1.22.3-bookworm AS build
FROM golang:1.22.4-bookworm AS build
ARG BUILD_VERSION

View file

@ -21,7 +21,7 @@ stages:
- task: GoTool@0
displayName: "Install Go"
inputs:
version: '1.22.3'
version: '1.22.4'
- pwsh: |
choco install -y make