Introduce WPDateTime
and WPFutureDateTime
. (#37)
#73
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: Test Main Branch | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
workflow_dispatch: | |
jobs: | |
test: | |
name: Unit tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Setup GO environment | |
uses: actions/setup-go@v5 | |
with: | |
go-version: '^1.22.1' | |
- name: Setup environment | |
run: | | |
go mod vendor | |
LOG_LEVEL=debug | |
- name: Test local binaries | |
run: | | |
go test -v ./... | |
- name: Test benchmark performance | |
run: | | |
go test -bench=. ./... |