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
9 changes: 4 additions & 5 deletions .github/workflows/build-cli.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:

- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version: '1.23'
go-version: '1.25'
cache: true

- name: Build binary
Expand Down Expand Up @@ -56,10 +56,9 @@ jobs:

- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
# This job runs the e2e module (go 1.24); install the Go it declares
# so `go test` doesn't hard-fail under GOTOOLCHAIN=local with
# "go.mod requires go >= 1.24.0". The root build job above stays on
# the root go.mod's 1.23.
# This job runs the e2e module; install the Go it declares so `go test`
# doesn't hard-fail under GOTOOLCHAIN=local. The root build job above
# uses the root go.mod's version (1.25).
go-version-file: e2e/go.mod
cache: true
cache-dependency-path: e2e/go.sum
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:

- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version: '1.23'
go-version: '1.25'
cache: true

- name: Run unit tests
Expand All @@ -77,13 +77,13 @@ jobs:

- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version: '1.23'
go-version: '1.25'
cache: true

- name: Run golangci-lint
uses: golangci/golangci-lint-action@d6238b002a20823d52840fda27e2d4891c5952dc # v4
uses: golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9 # v8
with:
version: latest
version: v2.10.1

workflow-drift:
name: Workflow Drift Check
Expand All @@ -93,7 +93,7 @@ jobs:

- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version: '1.23'
go-version: '1.25'
cache: true

- name: Build cascade CLI
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,15 @@ jobs:
- name: Set up Go
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version: "1.23"
go-version: "1.25"

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

- name: Run linter
uses: golangci/golangci-lint-action@55c2c1448f86e01eaae002a5a3a9624417608d84 # v6
uses: golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9 # v8
with:
version: latest
version: v2.10.1

release:
name: Release
Expand All @@ -62,7 +62,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version: "1.23"
go-version: "1.25"

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@5daf1e915a5f0af01ddbcd89a43b8061ff4f1a89 # v7.2.2
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/validate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:

- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version: '1.23'
go-version: '1.25'
cache: true

- name: Run tests
Expand All @@ -61,13 +61,13 @@ jobs:

- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version: '1.23'
go-version: '1.25'
cache: true

- name: Run golangci-lint
uses: golangci/golangci-lint-action@d6238b002a20823d52840fda27e2d4891c5952dc # v4
uses: golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9 # v8
with:
version: latest
version: v2.10.1

validate:
name: Validation Gate
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build stage
FROM golang:1.23-alpine AS builder
FROM golang:1.25-alpine AS builder

WORKDIR /build

Expand Down
2 changes: 1 addition & 1 deletion docs/src/content/docs/adoption.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ The flow in one line: you write a manifest plus callback workflows, run `cascade
- **GitHub Actions enabled** on the repository, with trunk-based development (a single primary branch).
- **Conventional Commits - required.** cascade derives the semver bump, the changelog, and breaking-change detection entirely from Conventional Commit messages. This is not optional. Commits that do not follow the convention are not processed correctly and version derivation can fail. See [Versioning and schema compatibility](/cascade/versioning/).
- **GitHub setup**: environments for each deploy stage, branch and tag protection, the secrets your callbacks consume, and scoped tokens. The [Security and Hardening](/cascade/security/hardening/) checklist is the authoritative list; wire it up before your first production promotion.
- The `cascade` CLI for local generation (Go 1.23+ to `go install`; in Actions, the setup action installs it for you). See [Getting Started](/cascade/getting-started/).
- The `cascade` CLI for local generation (Go 1.25+ to `go install`; in Actions, the setup action installs it for you). See [Getting Started](/cascade/getting-started/).

## Build a pipeline from scratch

Expand Down
2 changes: 1 addition & 1 deletion docs/src/content/docs/callback-contract.md
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ jobs:

- uses: actions/setup-go@v5
with:
go-version: "1.23"
go-version: "1.25"

- name: Lint
if: ${{ inputs.check_lint }}
Expand Down
2 changes: 1 addition & 1 deletion docs/src/content/docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ This guide walks through setting up `cascade` in your repository.

## Prerequisites

- Go 1.23+ (for the CLI)
- Go 1.25+ (for the CLI)
- A GitHub repository with Actions enabled
- Trunk-based development (single primary branch)

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/stablekernel/cascade

go 1.23
go 1.25

require (
github.com/santhosh-tekuri/jsonschema/v6 v6.0.2
Expand Down
Loading