update to to 1.24

This commit is contained in:
2025-10-02 22:45:49 +02:00
parent a30dc9e701
commit cfcc1636f3
4 changed files with 7 additions and 7 deletions

View File

@@ -1,10 +1,10 @@
name: build-and-test-gfn
on: [push, pull_request]
on: [push]
jobs:
build:
strategy:
matrix:
version: [1.22.1]
version: [1.24.5]
os: [ubuntu-latest, windows-latest, macos-latest]
name: Build
runs-on: ${{ matrix.os }}
@@ -30,7 +30,7 @@ jobs:
steps:
- uses: actions/setup-go@v5
with:
go-version: 1.22
go-version: 1.24
- uses: actions/checkout@v4
- name: golangci-lint
uses: golangci/golangci-lint-action@v8

View File

@@ -15,7 +15,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.23.5
go-version: 1.24.5
- name: Build the executables
run: ./mkrel.sh gfn ${{ github.ref_name}}

View File

@@ -125,7 +125,7 @@ var Templates = map[string]string{
}
const (
VERSION string = "0.0.8"
VERSION string = "0.0.9"
DefaultCount int = 160 // number of words to generate if -c is omitted
DefaultColumns int = 10 // number of columns to print
MaxWidth int = 72 // max width of output, adjusts columns

4
go.mod
View File

@@ -1,8 +1,8 @@
module github.com/TLINDEN/gfn
go 1.23.0
go 1.24.0
toolchain go1.23.5
toolchain go1.24.5
require (
github.com/knadh/koanf/parsers/toml v0.1.0