mirror of
https://github.com/pldubouilh/gossa
synced 2025-12-06 00:12:36 +01:00
bump go to 1.23.0 & fixup build reproducibility
This commit is contained in:
parent
5a1f75265d
commit
746d6d55bc
6 changed files with 13 additions and 12 deletions
2
.github/workflows/always.yml
vendored
2
.github/workflows/always.yml
vendored
|
|
@ -9,7 +9,7 @@ jobs:
|
|||
- name: Set up Go
|
||||
uses: actions/setup-go@v1
|
||||
with:
|
||||
go-version: 1.19.1
|
||||
go-version: 1.23.0
|
||||
id: go
|
||||
|
||||
- name: deps
|
||||
|
|
|
|||
2
.github/workflows/deploy.yml
vendored
2
.github/workflows/deploy.yml
vendored
|
|
@ -17,7 +17,7 @@ jobs:
|
|||
- name: Set up Go
|
||||
uses: actions/setup-go@v1
|
||||
with:
|
||||
go-version: 1.19.1
|
||||
go-version: 1.23.0
|
||||
id: go
|
||||
|
||||
- name: Set env
|
||||
|
|
|
|||
2
.github/workflows/rc.yml
vendored
2
.github/workflows/rc.yml
vendored
|
|
@ -14,7 +14,7 @@ jobs:
|
|||
- name: Set up Go
|
||||
uses: actions/setup-go@v1
|
||||
with:
|
||||
go-version: 1.19.1
|
||||
go-version: 1.23.0
|
||||
id: go
|
||||
|
||||
- name: Check out code into the Go module directory
|
||||
|
|
|
|||
3
Makefile
3
Makefile
|
|
@ -1,4 +1,4 @@
|
|||
FLAGS := -ldflags "-s -w" -trimpath
|
||||
FLAGS := -trimpath
|
||||
NOCGO := CGO_ENABLED=0
|
||||
|
||||
build::
|
||||
|
|
@ -59,6 +59,7 @@ watch-test::
|
|||
ls gossa.go gossa_test.go ui/* | entr -rc make test
|
||||
|
||||
build-all:: build
|
||||
go version
|
||||
${NOCGO} GOOS=linux GOARCH=amd64 go build ${FLAGS} -o builds/gossa-linux-x64
|
||||
${NOCGO} GOOS=linux GOARCH=arm go build ${FLAGS} -o builds/gossa-linux-arm
|
||||
${NOCGO} GOOS=linux GOARCH=arm64 go build ${FLAGS} -o builds/gossa-linux-arm64
|
||||
|
|
|
|||
2
go.mod
2
go.mod
|
|
@ -1,3 +1,3 @@
|
|||
module github.com/pldubouilh/gossa
|
||||
|
||||
go 1.16
|
||||
go 1.23.0
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
FROM golang:1.18 as builder
|
||||
FROM golang:1.23.0 as builder
|
||||
WORKDIR /gossaSrc
|
||||
COPY . /gossaSrc
|
||||
RUN make
|
||||
|
|
|
|||
Loading…
Reference in a new issue