Skip to content

♻️ Improve gitignore and add install target to Makefile #28

♻️ Improve gitignore and add install target to Makefile

♻️ Improve gitignore and add install target to Makefile #28

Workflow file for this run

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 }}