Skip to content

Commit

Permalink
Add support to Go 1.23
Browse files Browse the repository at this point in the history
Signed-off-by: pacoorozco <paco@pacoorozco.info>
  • Loading branch information
pacoorozco committed Sep 23, 2024
1 parent d3476d2 commit fb36891
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ permissions:

env:
# it should match the version in the Makefile file.
GOLANGCI_LINT_VERSION: 'v1.56.2'
GOLANGCI_LINT_VERSION: 'v1.61.0'

jobs:
golangci:
Expand All @@ -28,6 +28,6 @@ jobs:
go-version: 'stable'

- name: golangci-lint
uses: golangci/golangci-lint-action@v4
uses: golangci/golangci-lint-action@v6
with:
version: ${{ env.GOLANGCI_LINT_VERSION }}
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ permissions:

env:
# run coverage only with the latest Go version
LATEST_GO_VERSION: '1.22'
LATEST_GO_VERSION: '1.23'

jobs:
test:
Expand All @@ -26,7 +26,7 @@ jobs:
# The module is tested with last three major releases (unless there are pressing vulnerabilities)
# As we depend on `golang.org/x/` libraries which only support last 2 Go releases we could have situations when
# we derive from last three major releases promise.
go: ['1.20', '1.21', '1.22']
go: ['1.21', '1.22', '1.23']
name: ${{ matrix.os }} @ Go ${{ matrix.go }}
runs-on: ${{ matrix.os }}
steps:
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/) and this project adheres to [Semantic Versioning](https://semver.org/).

## 3.0.6
### Changed
- Updated supported `Go` versions to `1.21`-`1.23`.
- [CI] Updated `golangci` to 'v1.61.0'.

## 3.0.5
### Changed
- Updated supported `Go` versions to `1.20`-`1.21`.
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ COVERAGE_FILE := $(TMP_DIR)/coverage.txt
COVERAGE_HTML_FILE := $(TMP_DIR)/coverage.html

# golangci-lint version to use on this project.
GOLANGCI_VERSION ?= v1.56.2
GOLANGCI_VERSION ?= v1.61.0
GOLANGCI := $(TMP_DIR)/golangci-lint

UNAME_OS := $(shell uname -s)
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/gphotosuploader/google-photos-api-client-go/v3

go 1.20
go 1.21

require (
github.com/go-chi/chi/v5 v5.0.12
Expand Down

0 comments on commit fb36891

Please sign in to comment.