Skip to content

Update module github.com/fatih/color to v1.17.0 #34

Update module github.com/fatih/color to v1.17.0

Update module github.com/fatih/color to v1.17.0 #34

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
test-and-coverage:
strategy:
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Setup go
uses: actions/setup-go@v5
with:
go-version-file: './go.mod'
- name: Test
run: make tests
- name: Build CLI app
run: make build_cli
- name: Convert Go coverage to lcov
if: matrix.os == 'ubuntu-latest'
run: |
go install github.com/jandelgado/gcov2lcov@latest
gcov2lcov -infile=coverage.out -outfile=coverage.lcov
- name: Upload coverage to Coveralls
if: matrix.os == 'ubuntu-latest'
uses: coverallsapp/github-action@v2