chore(deps): bump github.com/charmbracelet/bubbletea from 1.0.1 to 1.1.1 #90
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: build | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
paths: | |
- "go.*" | |
- "**/*.go" | |
- ".github/workflows/*.yml" | |
permissions: | |
contents: read | |
env: | |
GO_VERSION: '1.23.0' | |
jobs: | |
build: | |
name: build | |
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 build | |
run: go build -v ./... | |
- name: go test | |
run: go test -v ./... | |
- name: run hours | |
run: | | |
go build . | |
./hours --dbpath=/var/tmp/throwaway-1.db report 3d -p | |
./hours --dbpath=/var/tmp/throwaway-2.db gen -y | |
./hours --dbpath=/var/tmp/throwaway-2.db report 3d -p | |
./hours --dbpath=/var/tmp/throwaway-2.db log 3d -p | |
./hours --dbpath=/var/tmp/throwaway-2.db stats 3d -p |