Update Go to 1.19.3 (#8525) (#8614)

Co-authored-by: Tomas Touceda <chiiph@gmail.com>
This commit is contained in:
Zach Wasserman 2022-11-08 10:03:23 -06:00 committed by GitHub
parent a7ca66576b
commit efbe4c0777
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
20 changed files with 28 additions and 27 deletions

View File

@ -41,7 +41,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@268d8c0ca0432bb2cf416faae41297df9d262d7f # v2
with:
go-version: 1.19.1
go-version: 1.19.3
- name: Install Go Dependencies
run: make deps-go

View File

@ -27,7 +27,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@268d8c0ca0432bb2cf416faae41297df9d262d7f # v2
with:
go-version: 1.19.1
go-version: 1.19.3
- name: Checkout Code
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v2

View File

@ -56,7 +56,7 @@ jobs:
timeout-minutes: 60
strategy:
matrix:
go-version: ['^1.19.1']
go-version: ['^1.19.3']
mysql: ['mysql:5.7']
runs-on: ubuntu-latest
needs: gen
@ -145,7 +145,7 @@ jobs:
timeout-minutes: 60
strategy:
matrix:
go-version: ['^1.19.1']
go-version: ['^1.19.3']
runs-on: ubuntu-latest
needs: gen
steps:
@ -185,7 +185,7 @@ jobs:
build-macos-targets:
strategy:
matrix:
go-version: ['^1.19.1']
go-version: ['^1.19.3']
runs-on: macos-latest
steps:
@ -227,7 +227,7 @@ jobs:
timeout-minutes: 60
strategy:
matrix:
go-version: ['^1.19.1']
go-version: ['^1.19.3']
runs-on: ubuntu-latest
needs: [gen, build-macos-targets]
steps:

View File

@ -47,7 +47,7 @@ jobs:
matrix:
# Doesn't work on Windows because Linux Docker containers are not supported.
os: [ubuntu-latest, macos-latest]
go-version: ['1.19.1']
go-version: ['1.19.3']
runs-on: ${{ matrix.os }}
steps:

View File

@ -37,7 +37,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@268d8c0ca0432bb2cf416faae41297df9d262d7f # v2
with:
go-version: '^1.19.1'
go-version: '^1.19.3'
- name: Checkout
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v2
@ -85,7 +85,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@268d8c0ca0432bb2cf416faae41297df9d262d7f # v2
with:
go-version: '^1.19.1'
go-version: '^1.19.3'
- name: Checkout
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v2
@ -108,7 +108,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@268d8c0ca0432bb2cf416faae41297df9d262d7f # v2
with:
go-version: '^1.19.1'
go-version: '^1.19.3'
- name: Checkout
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v2

View File

@ -38,7 +38,7 @@ jobs:
- uses: actions/setup-go@268d8c0ca0432bb2cf416faae41297df9d262d7f
with:
go-version: '1.19.1'
go-version: '1.19.3'
- name: Run go lint
run: |

View File

@ -39,7 +39,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@268d8c0ca0432bb2cf416faae41297df9d262d7f # v2
with:
go-version: 1.19.1
go-version: 1.19.3
- name: Install JS Dependencies
run: make deps-js

View File

@ -52,7 +52,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@268d8c0ca0432bb2cf416faae41297df9d262d7f # v2
with:
go-version: 1.19.1
go-version: 1.19.3
- name: Run GoReleaser
run: go run github.com/goreleaser/goreleaser@v1.9.2 release --rm-dist -f orbit/.goreleaser.yml

View File

@ -37,7 +37,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@268d8c0ca0432bb2cf416faae41297df9d262d7f # v2
with:
go-version: 1.19.1
go-version: 1.19.3
- name: Install Dependencies
run: make deps

View File

@ -32,7 +32,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@84cbf8094393cdc5fe1fe1671ff2647332956b1a # v2
with:
go-version: '^1.19.1'
go-version: '^1.19.3'
- name: Checkout Code
uses: actions/checkout@629c2de402a417ea7690ca6ce3f33229e27606a5 # v2
with:

View File

@ -37,7 +37,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
go-version: ['^1.19.1']
go-version: ['^1.19.3']
mysql: ["mysql:5.7.21", "mysql:8.0.28"]
runs-on: ${{ matrix.os }}

View File

@ -40,7 +40,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest]
go-version: ['^1.19.1']
go-version: ['^1.19.3']
runs-on: ${{ matrix.os }}
steps:

View File

@ -42,7 +42,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
go-version: ['^1.19.1']
go-version: ['^1.19.3']
runs-on: ${{ matrix.os }}
steps:

View File

@ -41,7 +41,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest]
go-version: ['^1.19.1']
go-version: ['^1.19.3']
fleet-tier: [free, premium]
runs-on: ${{ matrix.os }}
steps:

1
changes/update-go-1.19.3 Normal file
View File

@ -0,0 +1 @@
* Update Go to 1.19.3

View File

@ -1,6 +1,6 @@
FROM golang:1.19.1
FROM golang:1.19.3
ARG TAG
RUN git clone -b $TAG --depth=1 --no-tags --progress --no-recurse-submodules https://github.com/fleetdm/fleet.git && cd /go/fleet/cmd/osquery-perf/ && go build .
FROM golang:1.19.1
FROM golang:1.19.3
COPY --from=0 /go/fleet/cmd/osquery-perf/osquery-perf /go/osquery-perf

View File

@ -1,4 +1,4 @@
FROM golang:1.19.1-alpine AS builder
FROM golang:1.19.3-alpine AS builder
RUN apk update && apk add --no-cache git curl openssl unzip
WORKDIR /build
COPY . .

View File

@ -1,4 +1,4 @@
FROM golang:1.19.1-alpine AS builder
FROM golang:1.19.3-alpine AS builder
WORKDIR /build
COPY . .
RUN go get -d -v

View File

@ -1,4 +1,4 @@
FROM golang:1.19.1-alpine AS builder
FROM golang:1.19.3-alpine AS builder
WORKDIR /build
COPY . .
RUN go get -d -v

View File

@ -6,7 +6,7 @@ RUN cargo install --version 0.16.0 apple-codesign \
&& curl -sSf $transporter_url -o transporter_install.sh \
&& sh transporter_install.sh --target transporter --accept --noexec
FROM golang:1.19.1-bullseye
FROM golang:1.19.3-bullseye
RUN apt-get update \
&& dpkg --add-architecture i386 \