Skip to content

build(deps): bump github.com/fatih/color from 1.15.0 to 1.16.0 #116

build(deps): bump github.com/fatih/color from 1.15.0 to 1.16.0

build(deps): bump github.com/fatih/color from 1.15.0 to 1.16.0 #116

Workflow file for this run

name: gommander-ci-workflow
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v2
- name: "Setup go environment"
uses: actions/setup-go@v2
with:
go-version: 1.18
- name: Unit Test
run: go test
- name: Run golangci-lint
uses: golangci/[email protected]
with:
version: latest
args: --verbose
- name: Open Automated Issue on failure
if: failure()
uses: alialaa/issue-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
title: Automated issue for commit ${{github.sha}}
body: This issue was automatically created by the gha workflow ${{github.workflow}} for commit ${{github.sha}}
assignees: |
ndaba1
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: "Setup go environment"
uses: actions/setup-go@v2
with:
go-version: 1.18
- name: Generate coverage report
run: go test -race -coverprofile=coverage.out -covermode=atomic
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2