Skip to content

Commit

Permalink
Go 1.22
Browse files Browse the repository at this point in the history
  • Loading branch information
pierrre committed Feb 28, 2024
1 parent 35734c8 commit f902a86
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.21'
go-version: '1.22'
check-latest: true
- name: "Run CI"
run: make --warn-undefined-variables --no-print-directory ci
Expand Down
6 changes: 3 additions & 3 deletions Makefile-common.mk
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ lint:
# - tag: vX.Y.Z
# - branch: master
# - latest
GOLANGCI_LINT_VERSION?=v1.55.1
GOLANGCI_LINT_VERSION?=v1.56.2
# Installation type:
# - binary
# - source
Expand Down Expand Up @@ -118,8 +118,8 @@ lint-rules:
# - other directory: shouldn't be separated
! find . -name "*.go" | grep "[[:upper:]]"

# Use Go 1.21 in go.mod.
! grep -n "^go " go.mod | grep -v "go 1.21.0$$"
# Use Go 1.22 in go.mod.
! grep -n "^go " go.mod | grep -v "go 1.22.0$$"

.PHONY: mod-update
mod-update:
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/pierrre/go-libs

go 1.21.0
go 1.22.0

require github.com/pierrre/assert v0.3.4

Expand Down

0 comments on commit f902a86

Please sign in to comment.