mirror of
https://github.com/zoriya/bubbles.git
synced 2026-08-05 12:46:14 +00:00
* Improve textarea performance by caching the wrap results * Add memoization utility * Fix failing github jobs due to requirement for 1.18 * Address linting issues * Fix redundant docstrings * fix: minor changes to memoization * fix: soft-wrapped hidden line numbers * perf: switch to `uniseg.StringWidth` --------- Co-authored-by: Maas Lalani <maas@lalani.dev>
29 lines
724 B
YAML
29 lines
724 B
YAML
name: coverage
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
coverage:
|
|
strategy:
|
|
matrix:
|
|
go-version: [^1.18]
|
|
os: [ubuntu-latest]
|
|
runs-on: ${{ matrix.os }}
|
|
env:
|
|
GO111MODULE: "on"
|
|
steps:
|
|
- name: Install Go
|
|
uses: actions/setup-go@v5
|
|
with:
|
|
go-version: ${{ matrix.go-version }}
|
|
|
|
- name: Checkout code
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Coverage
|
|
env:
|
|
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
run: |
|
|
go test -race -covermode atomic -coverprofile=profile.cov ./...
|
|
GO111MODULE=off go get github.com/mattn/goveralls
|
|
$(go env GOPATH)/bin/goveralls -coverprofile=profile.cov -service=github
|