Skip to content

Fix ASCII screenshot alignment by replacing Unicode symbols with ASCII #19

Fix ASCII screenshot alignment by replacing Unicode symbols with ASCII

Fix ASCII screenshot alignment by replacing Unicode symbols with ASCII #19

Workflow file for this run

name: CI
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Setup Go
uses: actions/setup-go@v6
with:
go-version: '1.25'
cache: true
- name: Download dependencies
run: go mod download
- name: Run tests
run: go test -v -race -coverprofile=coverage.out ./...
- name: Upload coverage
uses: codecov/codecov-action@v5
with:
files: ./coverage.out
fail_ci_if_error: false
build:
name: Build
runs-on: ubuntu-latest
strategy:
matrix:
goos: [linux, darwin, windows]
goarch: [amd64, arm64]
exclude:
- goos: windows
goarch: arm64
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Setup Go
uses: actions/setup-go@v6
with:
go-version: '1.25'
cache: true
- name: Build
env:
GOOS: ${{ matrix.goos }}
GOARCH: ${{ matrix.goarch }}
run: |
binary_name="redis-tui"
if [ "$GOOS" = "windows" ]; then
binary_name="${binary_name}.exe"
fi
go build -ldflags "-s -w" -o "bin/${binary_name}" ./
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: redis-tui-${{ matrix.goos }}-${{ matrix.goarch }}
path: bin/