Skip to content

Feature/git flags --add and --amend #132

Feature/git flags --add and --amend

Feature/git flags --add and --amend #132

Workflow file for this run

name: test
on: [pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v5.0.1
with:
go-version: '1.22.1'
- name: Check out code
uses: actions/checkout@v4.1.7
- name: Set up Git
run: |
git config --global user.email "action@github.com"
git config --global user.name "GitHub Action"
- name: Test and generate coverage report
run: go test -coverprofile=coverage.out ./...
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4.5.0
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
file: coverage.out