diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 7db11ed..c5a1e48 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -53,4 +53,4 @@ body: attributes: label: Additional context description: - Add any other context about the problem you are experiencing here. \ No newline at end of file + Add any other context about the problem you are experiencing here. diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index a49eab2..0086358 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1 +1 @@ -blank_issues_enabled: true \ No newline at end of file +blank_issues_enabled: true diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml index 7140cad..914b8f4 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yml +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -27,4 +27,4 @@ body: label: Additional context description: Please include any other context, like screenshots or mockups, if - applicable. \ No newline at end of file + applicable. diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 63f1bb8..8f9e77c 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -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 @@ -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 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 513af2d..6701bad 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,7 +3,7 @@ name: Release on: push: tags: - - 'v*' + - "v*" permissions: contents: write @@ -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 @@ -29,4 +29,5 @@ jobs: version: latest args: release --clean env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + TAP_GITHUB_TOKEN: ${{ secrets.TAP_GITHUB_TOKEN }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 99d3235..6ed0972 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -2,9 +2,9 @@ name: Test on: push: - branches: [ main ] + branches: [main] pull_request: - branches: [ main ] + branches: [main] permissions: contents: read @@ -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 ./... @@ -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 \ No newline at end of file + ./tmpo${{ matrix.os == 'windows-latest' && '.exe' || '' }} --help diff --git a/.goreleaser.yml b/.goreleaser.yml index 5f63208..790cfde 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -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}}" @@ -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" \ No newline at end of file + system "#{bin}/tmpo", "--version"