Skip to content
Open
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
11 changes: 6 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,15 @@ permissions:

jobs:
cgroup-v2:
name: "cgroup v2 (Ubuntu 24.04)"
name: "cgroup v2 (Ubuntu 26.04)"
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
go-version: [1.24.x, 1.25.x]
# Make sure to have version from go.mod included here.
go-version: [1.24.x, 1.26.x]

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we just test oldstable and stable

@AkihiroSuda AkihiroSuda Aug 4, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
go-version: [1.24.x, 1.26.x]
# the minimum version corresponds to go.mod
go-version: [1.24.x, 1.26.x]

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added

        # Make sure to have version from go.mod included here.

race: ["-race", ""]
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04

steps:
- uses: actions/checkout@v7
Expand All @@ -34,7 +35,7 @@ jobs:
cgroup-v1:
name: "cgroup v1 (AlmaLinux 8)"
timeout-minutes: 20
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
steps:
- uses: actions/checkout@v7

Expand Down Expand Up @@ -63,6 +64,6 @@ jobs:
needs:
- cgroup-v2
- cgroup-v1
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
steps:
- run: echo "All jobs completed"
20 changes: 10 additions & 10 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
# Runs at 00:00 UTC every Monday
- cron: '0 0 * * 1'
env:
GO_VERSION: 1.25
GO_VERSION: 1.26
permissions:
contents: read

Expand All @@ -22,7 +22,7 @@ jobs:
contents: read
pull-requests: read
checks: write # to allow the action to annotate code in the PR.
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
steps:
- uses: actions/checkout@v7
with:
Expand All @@ -32,15 +32,15 @@ jobs:
go-version: "${{ env.GO_VERSION }}"
- uses: golangci/golangci-lint-action@v9
with:
version: v2.4
version: v2.12
# Extra linters, only checking new code from a pull request.
- name: lint-extra
if: github.event_name == 'pull_request'
run: |
golangci-lint run --config .golangci-extra.yml --new-from-rev=HEAD~1

go-fix:
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
steps:
- uses: actions/checkout@v7
with:
Expand All @@ -54,23 +54,23 @@ jobs:
git diff --exit-code

codespell:
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
steps:
- uses: actions/checkout@v7
- name: install deps
# Use a known version of codespell.
run: pip install --break-system-packages codespell==v2.4.1
run: pip install --break-system-packages codespell==v2.4.3
- name: run codespell
run: codespell

space-at-eol:
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
steps:
- uses: actions/checkout@v7
- run: if git -P grep -I -n '\s$'; then echo "^^^ extra whitespace at EOL, please fix"; exit 1; fi

deps:
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
steps:
- uses: actions/checkout@v7
- uses: actions/setup-go@v7
Expand All @@ -79,7 +79,7 @@ jobs:
- run: go mod tidy --diff

govulncheck:
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
steps:
- uses: golang/govulncheck-action@v1

Expand All @@ -91,6 +91,6 @@ jobs:
- govulncheck
- lint
- space-at-eol
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
steps:
- run: echo "All jobs completed"