Skip to content

add arm support

add arm support #157

Workflow file for this run

name: Build & Test
on:
push:
branches:
- 'master'
pull_request:
jobs:
build:
runs-on: ubuntu-20.04
strategy:
matrix:
arch: [amd64, arm64]
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.22"
- name: Set environment variables for architecture
run: |
echo "GOARCH=${{ matrix.arch }}" >> $GITHUB_ENV
echo "GOOS=linux" >> $GITHUB_ENV
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
version: v1.26.2
args: release --clean --snapshot --skip=publish