From cfcc1636f37dfeca3d6e7526e9d802324aecf171 Mon Sep 17 00:00:00 2001 From: Thomas von Dein Date: Thu, 2 Oct 2025 22:45:49 +0200 Subject: [PATCH] update to to 1.24 --- .github/workflows/ci.yaml | 6 +++--- .github/workflows/release.yaml | 2 +- config.go | 2 +- go.mod | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 2ea464c..771e3ce 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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 diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 3b8a3ae..b1acad1 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -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}} diff --git a/config.go b/config.go index fe827b1..e3a81ee 100644 --- a/config.go +++ b/config.go @@ -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 diff --git a/go.mod b/go.mod index 917b8fb..a99cfb8 100644 --- a/go.mod +++ b/go.mod @@ -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