Skip to content

Add CI

Add CI #2

Workflow file for this run

name: Push workflow
on: push
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
os:
- linux
- darwin
arch:
- amd64
- arm64
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: "1.23"
- name: Run build
run: go build
env:
GOOS: ${{ matrix.os }}
GOARCH: ${{ matrix.arch }}
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: latest