mirror of
https://codeberg.org/scip/gfn.git
synced 2025-12-16 10:20:57 +01:00
update to to 1.24
This commit is contained in:
6
.github/workflows/ci.yaml
vendored
6
.github/workflows/ci.yaml
vendored
@@ -1,10 +1,10 @@
|
|||||||
name: build-and-test-gfn
|
name: build-and-test-gfn
|
||||||
on: [push, pull_request]
|
on: [push]
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
version: [1.22.1]
|
version: [1.24.5]
|
||||||
os: [ubuntu-latest, windows-latest, macos-latest]
|
os: [ubuntu-latest, windows-latest, macos-latest]
|
||||||
name: Build
|
name: Build
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
@@ -30,7 +30,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/setup-go@v5
|
- uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: 1.22
|
go-version: 1.24
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: golangci-lint
|
- name: golangci-lint
|
||||||
uses: golangci/golangci-lint-action@v8
|
uses: golangci/golangci-lint-action@v8
|
||||||
|
|||||||
2
.github/workflows/release.yaml
vendored
2
.github/workflows/release.yaml
vendored
@@ -15,7 +15,7 @@ jobs:
|
|||||||
- name: Set up Go
|
- name: Set up Go
|
||||||
uses: actions/setup-go@v5
|
uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: 1.23.5
|
go-version: 1.24.5
|
||||||
|
|
||||||
- name: Build the executables
|
- name: Build the executables
|
||||||
run: ./mkrel.sh gfn ${{ github.ref_name}}
|
run: ./mkrel.sh gfn ${{ github.ref_name}}
|
||||||
|
|||||||
@@ -125,7 +125,7 @@ var Templates = map[string]string{
|
|||||||
}
|
}
|
||||||
|
|
||||||
const (
|
const (
|
||||||
VERSION string = "0.0.8"
|
VERSION string = "0.0.9"
|
||||||
DefaultCount int = 160 // number of words to generate if -c is omitted
|
DefaultCount int = 160 // number of words to generate if -c is omitted
|
||||||
DefaultColumns int = 10 // number of columns to print
|
DefaultColumns int = 10 // number of columns to print
|
||||||
MaxWidth int = 72 // max width of output, adjusts columns
|
MaxWidth int = 72 // max width of output, adjusts columns
|
||||||
|
|||||||
Reference in New Issue
Block a user