Skip to content

Commit

Permalink
go1.22 has lift-off! (#313)
Browse files Browse the repository at this point in the history
* go1.22 has lift-off!

- [+] chore: upgrade Go version from 1.21.6 to 1.22.0 in README.md and go.mod
- [+] docs(README.md): update Go version upgrade task status to completed

* Chore CI CodeQL

- [+] chore(CodeQL.yml): upgrade go-version from 1.21.6 to 1.22.0 in GitHub Actions workflow

* Chore Docker Builder

- [+] chore(Dockerfile): upgrade golang version from 1.21.6 to 1.22.0 in Dockerfile
  • Loading branch information
H0llyW00dzZ authored Feb 7, 2024
1 parent 72968a9 commit 350b502
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/CodeQL.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
if: ${{ matrix.language == 'go' }}
uses: actions/setup-go@v4
with:
go-version: '1.21.6'
go-version: '1.22.0'
env:
NODE_VERSION: 18

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Start from the official Go image to build our application.
FROM golang:1.21.6 as builder
FROM golang:1.22.0 as builder

# Set the working directory inside the container.
WORKDIR /app
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
Copyright (©️) 2024 @H0llyW00dzZ All rights reserved.
</pre>

[![Go Version](https://img.shields.io/badge/1.21.6-gray?style=flat&logo=go&logoWidth=15)](https://github.com/H0llyW00dzZ/GoGenAI-Terminal-Chat/blob/master/go.mod#L3)
[![Go Version](https://img.shields.io/badge/1.22.0-gray?style=flat&logo=go&logoWidth=15)](https://github.com/H0llyW00dzZ/GoGenAI-Terminal-Chat/blob/master/go.mod#L3)
[![Go Reference](https://pkg.go.dev/badge/github.com/H0llyW00dzZ/GoGenAI-Terminal-Chat.svg)](https://pkg.go.dev/github.com/H0llyW00dzZ/GoGenAI-Terminal-Chat)
[![Go Report Card](https://goreportcard.com/badge/github.com/H0llyW00dzZ/GoGenAI-Terminal-Chat)](https://goreportcard.com/report/github.com/H0llyW00dzZ/GoGenAI-Terminal-Chat)

Expand Down Expand Up @@ -392,7 +392,7 @@ Contributions is always welcome! If you're able to write code that adheres to a
> [!NOTE]
> The `Web Interface Support` feature is designed to facilitate support for WebAssembly (WASM), leveraging its development in Go. This enables the management of chat and other functionalities locally, starting from version v1.0.0+ (probably v2) of this repository, once it is reached and deemed stable. For best practices, [read here](https://pkg.go.dev/about#best-practices).
- [ ] **Go Upgrade to 1.22**
- [X] **Go Upgrade to 1.22**

### Command Tools:
- [ ] **Calculate the Size of the Code Base Volume**
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/H0llyW00dzZ/GoGenAI-Terminal-Chat

go 1.21.6
go 1.22.0

require (
github.com/google/generative-ai-go v0.6.0 // direct
Expand Down

0 comments on commit 350b502

Please sign in to comment.