Skip to content

Commit

Permalink
chore: bump ci to go 1.19 (#363)
Browse files Browse the repository at this point in the history
chore: bump to go 1.19

Signed-off-by: Sertac Ozercan <sozercan@gmail.com>

Signed-off-by: Sertac Ozercan <sozercan@gmail.com>
  • Loading branch information
sozercan authored Aug 10, 2022
1 parent 7cdac9e commit fec1c52
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ jobs:
with:
egress-policy: audit
- uses: actions/checkout@v3
- name: Set up Go 1.18
- name: Set up Go 1.19
uses: actions/setup-go@v3
with:
go-version: 1.18
go-version: 1.19
- name: lint manager
uses: golangci/golangci-lint-action@v3
with:
Expand Down Expand Up @@ -74,10 +74,10 @@ jobs:
uses: step-security/harden-runner@74b568e8591fbb3115c70f3436a0c6b0909a8504
with:
egress-policy: audit
- name: Set up Go 1.18
- name: Set up Go 1.19
uses: actions/setup-go@v3
with:
go-version: 1.18
go-version: 1.19
- uses: actions/cache@v3.0.4
with:
key: ${{ runner.OS }}-go-${{ hashFiles('**/go.sum') }}
Expand Down Expand Up @@ -108,10 +108,10 @@ jobs:
egress-policy: audit
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- name: Set up Go 1.18
- name: Set up Go 1.19
uses: actions/setup-go@v3
with:
go-version: 1.18
go-version: 1.19
- name: Check go.mod and manifests
run: |
go mod tidy
Expand All @@ -137,10 +137,10 @@ jobs:
egress-policy: audit
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- name: Set up Go 1.18
- name: Set up Go 1.19
uses: actions/setup-go@v3
with:
go-version: 1.18
go-version: 1.19
- name: Setup buildx instance
uses: docker/setup-buildx-action@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ linters-settings:
locale: US
staticcheck:
# Select the Go version to target. The default is '1.13'.
go: "1.18"
go: "1.19"

linters:
disable-all: true
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# syntax=mcr.microsoft.com/oss/moby/dockerfile:1.3.1
ARG BUILDERIMAGE="golang:1.18-bullseye"
ARG BUILDERIMAGE="golang:1.19-bullseye"

ARG STATICBASEIMAGE="gcr.io/distroless/static:latest"
ARG STATICNONROOTBASEIMAGE="gcr.io/distroless/static:nonroot"
Expand Down

0 comments on commit fec1c52

Please sign in to comment.