Allow alternative area explicit sizing in splits #28
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will builds and tests Termdash. | |
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go | |
name: Go | |
on: | |
push: | |
branches: [ "master", "devel" ] | |
pull_request: | |
branches: [ "master", "devel" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
go-version: [ '1.20', '1.21', 'stable' ] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Go ${{ matrix.go-version }} | |
uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: Install dependencies | |
run: | | |
go install golang.org/x/tools/cmd/cover@latest | |
go install github.com/mattn/goveralls@latest | |
go install golang.org/x/lint/golint@latest | |
go get -t ./... | |
- name: Test | |
run: go test -v -covermode=count -coverprofile=coverage.out ./... | |
- name: Test Race | |
run: CGO_ENABLED=1 go test -race ./... | |
- name: Format | |
run: diff -u <(echo -n) <(gofmt -d -s .) | |
- name: Lint | |
run: diff -u <(echo -n) <(golint ./...) |