Skip to content

chore: update to go1.21, revise ci #13

chore: update to go1.21, revise ci

chore: update to go1.21, revise ci #13

Workflow file for this run

name: CI
on:
push:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build with xgo
uses: crazy-max/ghaction-xgo@v3
with:
xgo_version: latest
go_version: 1.21
dest: dist
prefix: relaygram
targets: windows/386,windows/amd64,windows/arm64,linux/386,linux/amd64,linux/arm,linux/arm64,darwin/amd64,darwin/arm64
ldflags: -s -w
buildmode: default
- uses: actions/upload-artifact@v4
with:
path: dist/