Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,4 @@ body:
attributes:
label: Additional context
description:
Add any other context about the problem you are experiencing here.
Add any other context about the problem you are experiencing here.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
blank_issues_enabled: true
blank_issues_enabled: true
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ body:
label: Additional context
description:
Please include any other context, like screenshots or mockups, if
applicable.
applicable.
8 changes: 4 additions & 4 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ name: CodeQL

on:
push:
branches: [ main ]
branches: [main]
pull_request:
branches: [ main ]
branches: [main]
schedule:
- cron: '0 0 * * 1'
- cron: "0 0 * * 1"

permissions:
contents: read
Expand All @@ -23,7 +23,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.25'
go-version: "1.25"

- name: Initialize CodeQL
uses: github/codeql-action/init@v3
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Release
on:
push:
tags:
- 'v*'
- "v*"

permissions:
contents: write
Expand All @@ -20,7 +20,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.25'
go-version: "1.25"

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v6
Expand All @@ -29,4 +29,5 @@ jobs:
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAP_GITHUB_TOKEN: ${{ secrets.TAP_GITHUB_TOKEN }}
14 changes: 7 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Test

on:
push:
branches: [ main ]
branches: [main]
pull_request:
branches: [ main ]
branches: [main]

permissions:
contents: read
Expand All @@ -15,15 +15,15 @@ jobs:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.25'
go-version: "1.25"

- name: Build
run: go build -v ./...

Expand All @@ -37,4 +37,4 @@ jobs:
run: |
go build -o tmpo${{ matrix.os == 'windows-latest' && '.exe' || '' }} .
./tmpo${{ matrix.os == 'windows-latest' && '.exe' || '' }} --version
./tmpo${{ matrix.os == 'windows-latest' && '.exe' || '' }} --help
./tmpo${{ matrix.os == 'windows-latest' && '.exe' || '' }} --help
8 changes: 4 additions & 4 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ release:
github:
owner: DylanDevelops
name: tmpo
draft: true # Turn to false when first release is ready
draft: true
prerelease: auto
name_template: "tmpo {{.Version}}"

Expand All @@ -127,15 +127,15 @@ brews:
- name: tmpo
repository:
owner: DylanDevelops
name: tmpo
name: homebrew-tmpo
commit_author:
name: goreleaserbot
email: bot@goreleaser.com
homepage: "https://github.com/DylanDevelops/tmpo"
description: "Minimal CLI time tracker for developers"
license: "MIT"
skip_upload: true # Turn to false when first release is ready
skip_upload: false
install: |
bin.install "tmpo"
test: |
system "#{bin}/tmpo", "--version"
system "#{bin}/tmpo", "--version"
Loading