Chore/update golang to 1.24 + add riscv64 support (#40)

* chg: chore: bump golang and deps

* chg: chore: add riscv64 support

* chg: chore: update goreleaser

* chg: chore: disable cgo

* chg: chore: tidy up deps

* chg: chore: add build tags
This commit is contained in:
2025-07-29 13:22:21 -03:00
committed by GitHub
parent d9141c8df7
commit 4d6cfb8668
8 changed files with 135 additions and 57 deletions

View File

@@ -13,7 +13,7 @@ jobs:
go-lint:
name: Lint Go code
runs-on: ubuntu-latest
container: golang:1.22
container: golang:1.24
steps:
- uses: actions/checkout@v4
@@ -39,7 +39,7 @@ jobs:
go:
name: Test Go code
runs-on: ubuntu-latest
container: golang:1.22
container: golang:1.24
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v4
@@ -60,7 +60,7 @@ jobs:
name: Build binaries
needs: [go, go-lint]
runs-on: ubuntu-latest
container: goreleaser/goreleaser:v1.25.1
container: goreleaser/goreleaser:v2.11.1
steps:
- name: Checkout Code
uses: actions/checkout@v4
@@ -153,6 +153,6 @@ jobs:
with:
context: .
file: .github/workflows/pipeline.dockerfile
platforms: linux/amd64,linux/386,linux/arm/v6,linux/arm/v7,linux/arm64
platforms: linux/amd64,linux/386,linux/arm/v6,linux/arm/v7,linux/arm64,linux/riscv64
push: true
tags: ${{ steps.meta.outputs.tags }}