chore(deps): bump github.com/fatih/color from 1.15.0 to 1.16.0 (#19) #29
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
name: CI Test | ||
concurrency: | ||
# Run only for most recent commit in PRs but for all tags and commits on main | ||
# Ref: https://docs.github.com/en/actions/using-jobs/using-concurrency | ||
group: ${{ github.workflow }}-${{ github.head_ref || github.sha }} | ||
cancel-in-progress: true | ||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
- * | ||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
- name: Setup go | ||
uses: actions/setup-go@v4 | ||
with: | ||
go-version: '^1.20' | ||
- name: Setup golangci-lint | ||
uses: golangci/[email protected] | ||
- name: Run tests with Coverage | ||
run: make coverage | ||
- name: Upload Code Coverage | ||
uses: codecov/codecov-action@v3 | ||
with: | ||
name: codecov | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
fail_ci_if_error: true | ||
- name: Build | ||
run: make build |