From 287b9995fee99743081caa7a82981d253c2cfbe6 Mon Sep 17 00:00:00 2001 From: Thomas von Dein Date: Thu, 2 Oct 2025 22:35:13 +0200 Subject: [PATCH] update go to 1.24 --- .github/workflows/ci.yaml | 6 +++--- .github/workflows/release.yaml | 2 +- Dockerfile | 2 +- config.go | 2 +- go.mod | 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 3972bdc..a0cbbdc 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -1,10 +1,10 @@ name: build-and-test -on: [push, pull_request] +on: [push] jobs: build: strategy: matrix: - version: [1.23] + version: [1.24] os: [ubuntu-latest, windows-latest, macos-latest] name: Build runs-on: ${{ matrix.os }} @@ -41,7 +41,7 @@ jobs: steps: - uses: actions/setup-go@v5 with: - go-version: 1.23 + go-version: 1.24 - uses: actions/checkout@v5 - name: golangci-lint uses: golangci/golangci-lint-action@v8 diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index b87f023..3587810 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 kleingebaeck ${{ github.ref_name}} diff --git a/Dockerfile b/Dockerfile index 460ff2f..2439c45 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.23-alpine as builder +FROM golang:1.24-alpine as builder RUN apk update RUN apk upgrade diff --git a/config.go b/config.go index 299d280..ecce57c 100644 --- a/config.go +++ b/config.go @@ -34,7 +34,7 @@ import ( ) const ( - VERSION string = "0.3.22" + VERSION string = "0.3.23" Baseuri string = "https://www.kleinanzeigen.de" Listuri string = "/s-bestandsliste.html" Defaultdir string = "." diff --git a/go.mod b/go.mod index 4eba949..6107626 100644 --- a/go.mod +++ b/go.mod @@ -1,8 +1,8 @@ module kleingebaeck -go 1.23.0 +go 1.24.0 -toolchain go1.23.5 +toolchain go1.24.5 require ( astuart.co/goq v1.0.0