-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: simplify update file (#34)
- Loading branch information
Showing
12 changed files
with
899 additions
and
563 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
name: test | ||
|
||
on: | ||
push: | ||
branches: ["main"] | ||
pull_request: | ||
paths: | ||
- "go.*" | ||
- "**/*.go" | ||
- ".github/workflows/test.yml" | ||
|
||
env: | ||
GO_VERSION: '1.23.4' | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up Go | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version: ${{ env.GO_VERSION }} | ||
- name: go test | ||
run: go test -v ./... | ||
|
||
live: | ||
needs: [test] | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, macos-latest] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up Go | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version: ${{ env.GO_VERSION }} | ||
- name: go install | ||
run: go install . | ||
- name: Run live tests | ||
run: | | ||
cd tests | ||
./test.sh |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# Changelog | ||
|
||
All notable changes to this project will be documented in this file. | ||
|
||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), | ||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
|
||
## [v0.3.0] - Jun 29, 2024 | ||
|
||
### Added | ||
|
||
- Timestamps in the "Task Log Entry" view can be moved forwards/backwards using | ||
j/k/J/K | ||
- The TUI now shows the start time of an active recording | ||
- An active task log recording can now be cancelled (using ctrl+x) | ||
|
||
### Changed | ||
|
||
- Timestamps in "Task Log" view show up differently based on the end timestamp | ||
- "active" subcommand supports a time placeholder, eg. hours active -t 'working | ||
on {{task}} for {{time}}' | ||
|
||
## [v0.2.0] - Jun 21, 2024 | ||
|
||
### Added | ||
|
||
- Adds the ability to view reports/logs/stats interactively (using the | ||
--interactive/-i flag) | ||
- Adds the "gen" subcommand to allow new users of "hours" to generate dummy data | ||
|
||
[unreleased]: https://github.com/dhth/hours/compare/v0.3.0...HEAD | ||
[v0.3.0]: https://github.com/dhth/hours/compare/v0.2.0...v0.3.0 | ||
[v0.2.0]: https://github.com/dhth/hours/compare/v0.1.0...v0.2.0 |
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
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
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
Oops, something went wrong.