Skip to content

Commit

Permalink
Add CI badge + run CI on merge to main (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
Danny Hermes authored Feb 9, 2024
1 parent a92cf09 commit ef655e9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ on:
pull_request:
branches:
- main
push:
branches:
- main

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

[![GoDoc][1]][2]
[![Go ReportCard][3]][4]
[![Build Status][8]][9]

The `go-date` package provides a dedicated `Date{}` struct to emulate the
standard library `time.Time{}` behavior.
Expand Down Expand Up @@ -43,3 +44,5 @@ historical date ranges.) Some existing packages:
[5]: https://pkg.go.dev/github.com/rickb777/date
[6]: https://en.wikipedia.org/wiki/Proleptic_Gregorian_calendar
[7]: https://pkg.go.dev/github.com/fxtlabs/date
[8]: https://github.com/hardfinhq/go-date/actions/workflows/ci.yaml/badge.svg?branch=main
[9]: https://github.com/hardfinhq/go-date/actions/workflows/ci.yaml

0 comments on commit ef655e9

Please sign in to comment.