Skip to content

Fix goreleaser arch #22

Fix goreleaser arch

Fix goreleaser arch #22

Workflow file for this run

# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
name: Build
on:
push:
env:
TAG_VERSION: ${{ github.ref_name }}
REGISTRY: ghcr.io
GO_VERSION: 1.23
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Cache
uses: actions/[email protected]
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-golang-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-golang
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.22"
- name: Test
run: go test -v ./...