Skip to content

♻️ Refactor variable declaration in getAPIKey function #17

♻️ Refactor variable declaration in getAPIKey function

♻️ Refactor variable declaration in getAPIKey function #17

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
fail_ci_if_error: true
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}