Skip to content

Commit

Permalink
Increase golang version
Browse files Browse the repository at this point in the history
  • Loading branch information
wpjunior committed Jan 18, 2024
1 parent 2bbb2e4 commit ddcff05
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: '1.20'
go-version: '1.21'
- run: make test

lint:
Expand All @@ -18,10 +18,10 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: '1.20'
go-version: '1.21'
- uses: golangci/golangci-lint-action@v3
with:
version: v1.53
version: v1.55

integration:
runs-on: ubuntu-latest
Expand All @@ -36,7 +36,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: '1.20'
go-version: '1.21'
- name: Setup
run: |
kubectl create namespace nginx-operator-system
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build the manager binary
FROM golang:1.20 as builder
FROM golang:1.21 as builder
WORKDIR /workspace
# Copy the Go Modules and Go source code
COPY ./ ./
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/tsuru/nginx-operator

go 1.20
go 1.21

require (
github.com/go-logr/logr v1.2.0
Expand Down

0 comments on commit ddcff05

Please sign in to comment.