Skip to content

Commit

Permalink
Bump Go version to 1.22
Browse files Browse the repository at this point in the history
  • Loading branch information
maranqz committed Aug 3, 2024
1 parent fc0b7ba commit 2542a85
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ on:
- main
name: Test
env:
GO_TARGET_VERSION: 1.21
OS_TARGET: ubuntu-latest
jobs:
tests-units:
Expand All @@ -27,7 +26,7 @@ jobs:
- '1.17'
- '1.18'
- '1.19'
- '1.20'
- '1.21'
os:
- ubuntu-latest
# - macos-latest
Expand Down Expand Up @@ -82,8 +81,7 @@ jobs:
--health-retries 5
strategy:
matrix:
go-version:
- '1.21' # latest go version
go-version: '1.22'
os:
- ubuntu-latest
mongodb-version:
Expand Down Expand Up @@ -145,7 +143,7 @@ jobs:
uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: ${{ env.GO_TARGET_VERSION }}
go-version: '1.22'
- name: golangci-lint
uses: golangci/golangci-lint-action@v4
with:
Expand Down
4 changes: 2 additions & 2 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ linters:
- gocritic
- gocyclo
- godot
- goerr113
- err113
- gofmt
- gofumpt
- goimports
Expand Down Expand Up @@ -129,7 +129,7 @@ issues:
- goconst
- gomnd
- containedctx
- goerr113
- err113
- errcheck
- nolintlint
- forcetypeassert
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## [2.0.0-rc-9] - 2024-08-09

### Changes

- Bumped tests up to go1.22

## [2.0.0-rc-8] - 2024-01-04

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion go.work
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
go 1.21
go 1.22

use (
./drivers/goredis8
Expand Down

0 comments on commit 2542a85

Please sign in to comment.