Skip to content

Update cssh example to work with iTerm 3.5+ #27

Update cssh example to work with iTerm 3.5+

Update cssh example to work with iTerm 3.5+ #27

Workflow file for this run

name: Main
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
name: Build
runs-on: ubuntu-latest
strategy:
matrix:
goos: [linux, darwin]
goarch: [amd64, arm64]
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
go-version: ^1.16
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Get dependencies
run: |
go get -v -t -d ./...
go mod download
go mod verify
- name: Build
run: |
export CGO_ENABLED=0 GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }}
go build -ldflags "-s -w" \
-trimpath \
-o ./hashcolor-${{ matrix.goos }}-${{ matrix.goarch }} \
./cmd/hashcolor/main.go