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/workflows/act-image-repin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ jobs:
if: steps.resolve.outputs.changed == 'true'
uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.5.0
with:
go-version: "1.25"
go-version-file: e2e/go.mod

- name: Verify e2e module builds
if: steps.resolve.outputs.changed == 'true'
Expand Down
2 changes: 1 addition & 1 deletion .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@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.5.0
with:
go-version: '1.25'
go-version-file: go.mod
cache: true

- name: Build binary
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nightly-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ jobs:
- uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.5.0
if: github.event.inputs.dry_run == 'true'
with:
go-version: "1.25"
go-version-file: go.mod

- name: Compute candidate version (dry run)
id: version
Expand Down
6 changes: 3 additions & 3 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@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.5.0
with:
go-version: '1.25'
go-version-file: go.mod
cache: true

- name: Run unit tests
Expand Down Expand Up @@ -89,7 +89,7 @@ jobs:

- uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.5.0
with:
go-version: '1.25'
go-version-file: go.mod
cache: true

- name: Run golangci-lint
Expand All @@ -111,7 +111,7 @@ jobs:

- uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.5.0
with:
go-version: '1.25'
go-version-file: go.mod
cache: true

- name: Build cascade CLI
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.5.0
with:
go-version: "1.25"
go-version-file: go.mod

- name: Run tests
run: go test -v ./...
Expand All @@ -70,7 +70,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.5.0
with:
go-version: "1.25"
go-version-file: go.mod

- name: Install cosign
uses: sigstore/cosign-installer@6f9f17788090df1f26f669e9d70d6ae9567deba6 # v4.1.2
Expand Down
20 changes: 17 additions & 3 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@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.5.0
with:
go-version: '1.25'
go-version-file: go.mod
cache: true

- name: Run tests
Expand Down Expand Up @@ -73,17 +73,31 @@ jobs:

- uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.5.0
with:
go-version: '1.25'
go-version-file: go.mod
cache: true

- name: Run golangci-lint
uses: golangci/golangci-lint-action@ba0d7d2ec06a0ea1cb5fa41b2e4a3ab91d21278a # v9.3.0
with:
version: v2.10.1

vuln:
name: Vulnerability Scan
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0

- uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.5.0
with:
go-version-file: go.mod
cache: true

- name: Run govulncheck
run: go run golang.org/x/vuln/cmd/govulncheck@v1.3.0 ./...

validate:
name: Validation Gate
needs: [test, lint]
needs: [test, lint, vuln]
runs-on: ubuntu-latest
outputs:
result: ${{ steps.result.outputs.result }}
Expand Down
2 changes: 1 addition & 1 deletion docs/release-verification.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ cd cascade
git checkout v0.X.Y
```

2. Ensure Go 1.25 is installed (the version used for official releases).
2. Ensure Go 1.26.4 or newer is installed (the toolchain pinned in `go.mod` via the `toolchain` directive, used for official releases).

3. Build with the same flags used in the release workflow:

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 are 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.25+ 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.26.4+ 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/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. For the big pi

## Prerequisites

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

Expand Down
2 changes: 2 additions & 0 deletions e2e/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ module github.com/stablekernel/cascade/e2e

go 1.25.0

toolchain go1.26.4

replace github.com/stablekernel/cascade => ../

require (
Expand Down
2 changes: 2 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ module github.com/stablekernel/cascade

go 1.25

toolchain go1.26.4

require (
github.com/pmezard/go-difflib v1.0.0
github.com/santhosh-tekuri/jsonschema/v6 v6.0.2
Expand Down