mirror of
https://github.com/charmbracelet/gum
synced 2024-05-21 23:56:43 +02:00
44906e23b9
* feat: use huh for gum choose (select + multiselect) Uses Select for gum choose and MultiSelect for gum choose --no-limit. * chore: bump to 1.21
35 lines
707 B
YAML
35 lines
707 B
YAML
name: build
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
build:
|
|
strategy:
|
|
matrix:
|
|
os: [ubuntu-latest, macos-latest, windows-latest]
|
|
runs-on: ${{ matrix.os }}
|
|
env:
|
|
GO111MODULE: "on"
|
|
steps:
|
|
- name: Install Go
|
|
uses: actions/setup-go@v5
|
|
with:
|
|
go-version: ~1.21
|
|
|
|
- name: Checkout code
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Download Go modules
|
|
run: go mod download
|
|
|
|
- name: Build
|
|
run: go build -v ./...
|
|
|
|
- name: Test
|
|
run: go test -v -cover -timeout=30s ./...
|
|
|
|
snapshot:
|
|
uses: charmbracelet/meta/.github/workflows/snapshot.yml@main
|
|
secrets:
|
|
goreleaser_key: ${{ secrets.GORELEASER_KEY }}
|