From ae977016baa5fdff3b07017412a91af127b6b87d Mon Sep 17 00:00:00 2001 From: Pierre Durand Date: Wed, 28 Feb 2024 17:21:59 +0100 Subject: [PATCH] copy common files (Go 1.22) --- .github/workflows/ci.yml | 2 +- Makefile-common.mk | 6 +++--- go.mod | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 27b540e..1ff226c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/Makefile-common.mk b/Makefile-common.mk index 31c50cc..11ae187 100644 --- a/Makefile-common.mk +++ b/Makefile-common.mk @@ -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 @@ -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: diff --git a/go.mod b/go.mod index b07e633..b9c582e 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/pierrre/langton -go 1.21.0 +go 1.22.0 require ( github.com/nsf/termbox-go v1.1.1