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
64 changes: 32 additions & 32 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -1,39 +1,39 @@
name: CodeQL

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

permissions:
contents: read
security-events: write
contents: read
security-events: write

jobs:
analyze:
name: Analyze (go)
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v7

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

- name: Initialize CodeQL
uses: github/codeql-action/init@v4
with:
languages: go

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

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v4
with:
category: /language:go
analyze:
name: Analyze (go)
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v7

- name: Set up Go
uses: actions/setup-go@v7
with:
go-version: "1.27"

- name: Initialize CodeQL
uses: github/codeql-action/init@v4
with:
languages: go

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

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v4
with:
category: /language:go
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v7
with:
go-version: "1.25"
go-version: "1.27"

- name: Generate release notes
env:
Expand Down
66 changes: 33 additions & 33 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,40 +1,40 @@
name: Test

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

permissions:
contents: read
contents: read

jobs:
test:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v7

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

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

- name: Run unit tests
run: go test -v ./...

- name: Run tests with race detection
run: go test -race -v ./...

- name: Test basic commands
run: |
go build -o tmpo${{ matrix.os == 'windows-latest' && '.exe' || '' }} .
./tmpo${{ matrix.os == 'windows-latest' && '.exe' || '' }} --version
./tmpo${{ matrix.os == 'windows-latest' && '.exe' || '' }} --help
test:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v7

- name: Set up Go
uses: actions/setup-go@v7
with:
go-version: "1.27"

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

- name: Run unit tests
run: go test -v ./...

- name: Run tests with race detection
run: go test -race -v ./...

- name: Test basic commands
run: |
go build -o tmpo${{ matrix.os == 'windows-latest' && '.exe' || '' }} .
./tmpo${{ matrix.os == 'windows-latest' && '.exe' || '' }} --version
./tmpo${{ matrix.os == 'windows-latest' && '.exe' || '' }} --help
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Thank you for your interest in contributing to tmpo! This document provides guid

### Prerequisites

- Go 1.25 or higher
- Go 1.27 or higher
- Git

### Setting Up Your Development Environment
Expand Down
8 changes: 4 additions & 4 deletions docs/installation/linux_installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ This guide will walk you through installing tmpo on Linux.
## Prerequisites

- Linux kernel 3.10 or later (most modern distributions)
- For building from source: Go 1.25 or later
- For building from source: Go 1.27 or later

## Method 1: Download Pre-built Binary (Recommended)

Expand Down Expand Up @@ -96,9 +96,9 @@ sudo pacman -S go
**Or download from [golang.org/dl](https://golang.org/dl/):**

```bash
# Download and install Go 1.25 or later
wget https://go.dev/dl/go1.25.0.linux-amd64.tar.gz
sudo tar -C /usr/local -xzf go1.25.0.linux-amd64.tar.gz
# Download and install Go 1.27 or later
wget https://go.dev/dl/go1.27.1.linux-amd64.tar.gz
sudo tar -C /usr/local -xzf go1.27.1.linux-amd64.tar.gz
echo 'export PATH=$PATH:/usr/local/go/bin' >> ~/.bashrc
source ~/.bashrc

Expand Down
2 changes: 1 addition & 1 deletion docs/installation/macos_installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ This guide will walk you through installing tmpo on macOS.
## Prerequisites

- macOS 11 (Big Sur) or later
- For building from source: Go 1.25 or later
- For building from source: Go 1.27 or later

## Method 1: Homebrew (Recommended)

Expand Down
2 changes: 1 addition & 1 deletion docs/installation/windows_installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ This guide will walk you through installing tmpo on Windows.
## Prerequisites

- Windows 10 or later
- For building from source: Go 1.25 or later
- For building from source: Go 1.27 or later

## Method 1: Download Pre-built Binary (Recommended)

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/DylanDevelops/tmpo

go 1.25.5
go 1.27.1

require (
github.com/manifoldco/promptui v0.9.0
Expand Down
Loading