Skip to content

feat: redesigne typing for more flexible #43

feat: redesigne typing for more flexible

feat: redesigne typing for more flexible #43

Workflow file for this run

name: CI
on:
push:
pull_request:
branches: [main]
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v6
with:
go-version: '1.25'
- run: |
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin
echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
- run: golangci-lint run --timeout=5m
- run: go vet ./...
test:
name: Test
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v6
with:
go-version: '1.25'
- run: go test -v -race ./...
build:
name: Build
runs-on: macos-latest
needs: [lint, test]
strategy:
matrix:
arch: [amd64, arm64]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v6
with:
go-version: '1.25'
- run: GOARCH=${{ matrix.arch }} go build -o codeme .