♻️ Refactor command descriptions in lazycommit subcommands #24
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: Code Coverage | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/[email protected] | |
- name: Set up Go | |
uses: actions/[email protected] | |
with: | |
go-version: '1.23' | |
- name: Install dependencies | |
run: go mod tidy | |
- name: Run tests with coverage | |
run: go test -v -coverprofile=coverage.out ./... | |
- name: Upload coverage to Codecov | |
uses: codecov/[email protected] | |
with: | |
file: coverage.out | |
slug: jasonbirchall/lazycommit | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} |