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/actions/setup-stlc/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ runs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "stable"
go-version-file: go.mod
cache: false

- name: Install pnpm
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:

- uses: actions/setup-go@v6
with:
go-version: "1.25.4"
go-version-file: go.mod
cache: false

- name: Install validation tools
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
# Not necessary to upload cache on self-hosted runner(s)
# ~/go/pkg/mod and ~/.cache/go-build stay on disk between runs automatically.
cache: false
go-version: '1.25.4'
go-version-file: go.mod

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v6
Expand All @@ -49,7 +49,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.25.4'
go-version-file: go.mod

- name: Build server and token tool
run: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ jobs:
# Not necessary to upload cache on self-hosted runner(s)
# ~/go/pkg/mod and ~/.cache/go-build stay on disk between runs automatically.
cache: false
go-version: '1.25.4'
go-version-file: go.mod

- name: Check UFFD pager version
run: |
Expand Down Expand Up @@ -402,7 +402,7 @@ jobs:
persist-credentials: false
- uses: actions/setup-go@v6
with:
go-version: '1.25.4'
go-version-file: go.mod
cache: false
- name: Ensure Docker is running
run: |
Expand Down Expand Up @@ -514,7 +514,7 @@ jobs:
persist-credentials: false
- uses: actions/setup-go@v6
with:
go-version: '1.25.4'
go-version-file: go.mod
cache: false
- name: Install dependencies
run: |
Expand Down
6 changes: 3 additions & 3 deletions DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This document covers development setup, configuration, and contributing to Hypem

### Linux (Default)

**Go 1.25.4+**, **KVM**, **erofs-utils**, **dnsmasq**
**Go 1.26.10+**, **KVM**, **erofs-utils**, **dnsmasq**

### macOS (Experimental)

Expand All @@ -16,7 +16,7 @@ See [macOS Development](#macos-development) below for native macOS development u

**Linux Prerequisites:**

**Go 1.25.4+**, **KVM**, **erofs-utils**, **dnsmasq**. QEMU development and testing also require the architecture-appropriate `qemu-system` package (for example, `qemu-system-x86` on amd64).
**Go 1.26.10+**, **KVM**, **erofs-utils**, **dnsmasq**. QEMU development and testing also require the architecture-appropriate `qemu-system` package (for example, `qemu-system-x86` on amd64).

```bash
# Verify prerequisites
Expand Down Expand Up @@ -368,7 +368,7 @@ Hypeman supports native macOS development using Apple's Virtualization.framework
- **Apple Silicon** (M1/M2/M3) recommended
- **macOS 14.0+** (Sonoma) required for snapshot/restore (ARM64 only)
- **Rosetta** required for running `linux/amd64` images on Apple Silicon: `softwareupdate --install-rosetta --agree-to-license`
- **Go 1.25.4+**
- **Go 1.26.10+**
- **Caddy** (for ingress): `brew install caddy`
- **e2fsprogs** (for ext4 disk images): `brew install e2fsprogs`

Expand Down
2 changes: 1 addition & 1 deletion deploy/aws/cloudformation/template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ Resources:

if [ -n "${HypemanBranch}" ]; then
apt-get install -y build-essential git make
curl -fsSL https://go.dev/dl/go1.25.4.linux-amd64.tar.gz | tar -C /usr/local -xzf -
curl -fsSL https://go.dev/dl/go1.26.10.linux-amd64.tar.gz | tar -C /usr/local -xzf -
export PATH="/usr/local/go/bin:$PATH"
export HOME=/root
export GOPATH=/root/go
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/kernel/hypeman

go 1.25.4
go 1.26.10

require (
al.essio.dev/pkg/shellescape v1.6.0
Expand Down
2 changes: 1 addition & 1 deletion lib/builds/images/generic/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
FROM moby/buildkit:latest AS buildkit

# Build the builder-agent and guest-agent (multi-stage build from hypeman repo)
FROM golang:1.25-alpine AS agent-builder
FROM golang:1.26.10-alpine AS agent-builder

WORKDIR /app

Expand Down
14 changes: 9 additions & 5 deletions scripts/utm/bootstrap-dev-environment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,17 @@ fi

# Install Go
echo "[4/10] Installing Go..."
if go version 2>/dev/null | grep -q "go1.2"; then
GO_VERSION="1.26.10"
if [ "$(GOTOOLCHAIN=local go env GOVERSION 2>/dev/null)" = "go${GO_VERSION}" ]; then
echo "Go already installed: $(go version)"
else
GO_VERSION="1.25.4"
curl -fsSL "https://go.dev/dl/go${GO_VERSION}.linux-arm64.tar.gz" | sudo tar -C /usr/local -xzf -
echo 'export PATH=$PATH:/usr/local/go/bin' >> ~/.bashrc
export PATH=$PATH:/usr/local/go/bin
archive=$(mktemp)
curl -fsSL "https://go.dev/dl/go${GO_VERSION}.linux-arm64.tar.gz" -o "$archive"
sudo rm -rf /usr/local/go
sudo tar -C /usr/local -xzf "$archive"
rm -f "$archive"
echo 'export PATH=/usr/local/go/bin:$PATH' >> ~/.bashrc
export PATH=/usr/local/go/bin:$PATH
echo "Go ${GO_VERSION} installed"
fi

Expand Down
Loading