From 5a9f48debaf0435c9fae010a1814229c23265d62 Mon Sep 17 00:00:00 2001 From: Vishal Rana Date: Thu, 1 Oct 2026 15:12:43 -0700 Subject: [PATCH 1/2] ci: rename the test workflow to ci.yml ci.yml is the most common name for a repository's main build-and-test workflow, and it says what the file does. The workflow is now named "CI" and the lint workflow "Checks", so pull request checks read "CI / ubuntu-latest @ Go 1.27". The README status badge points at the new file. No ruleset requires these checks, so the rename doesn't affect merging. Run history for the old file name stays in the Actions tab. Claude-Session: https://claude.ai/code/session_01QKDYQr53zNKkR7nif2CAAq --- .github/workflows/checks.yml | 2 +- .github/workflows/{echo.yml => ci.yml} | 4 ++-- README.md | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) rename .github/workflows/{echo.yml => ci.yml} (98%) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 87342283a..9e5fb7121 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -1,4 +1,4 @@ -name: Run checks +name: Checks on: push: diff --git a/.github/workflows/echo.yml b/.github/workflows/ci.yml similarity index 98% rename from .github/workflows/echo.yml rename to .github/workflows/ci.yml index caaff30c0..f7f8be047 100644 --- a/.github/workflows/echo.yml +++ b/.github/workflows/ci.yml @@ -1,4 +1,4 @@ -name: Run Tests +name: CI on: push: @@ -45,7 +45,7 @@ jobs: with: go-version: ${{ matrix.go }} - - name: Run Tests + - name: CI run: go test -race --coverprofile=coverage.coverprofile --covermode=atomic ./... - name: Upload coverage to Codecov diff --git a/README.md b/README.md index 3e4fb9a7b..dda28b075 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ [![Sourcegraph](https://sourcegraph.com/github.com/labstack/echo/-/badge.svg?style=flat-square)](https://sourcegraph.com/github.com/labstack/echo?badge) [![GoDoc](https://img.shields.io/badge/go-documentation-blue.svg?style=flat-square)](https://pkg.go.dev/github.com/labstack/echo/v5) [![Go Report Card](https://goreportcard.com/badge/github.com/labstack/echo?style=flat-square)](https://goreportcard.com/report/github.com/labstack/echo) -[![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/labstack/echo/echo.yml?style=flat-square)](https://github.com/labstack/echo/actions) +[![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/labstack/echo/ci.yml?style=flat-square)](https://github.com/labstack/echo/actions) [![Codecov](https://img.shields.io/codecov/c/github/labstack/echo.svg?style=flat-square)](https://codecov.io/gh/labstack/echo) [![Forum](https://img.shields.io/badge/community-forum-00afd1.svg?style=flat-square)](https://github.com/labstack/echo/discussions) [![Twitter](https://img.shields.io/badge/twitter-@labstack-55acee.svg?style=flat-square)](https://twitter.com/labstack) From 5242e827ae19da2d2fb7d9b07ab151903c572714 Mon Sep 17 00:00:00 2001 From: Vishal Rana Date: Thu, 1 Oct 2026 15:20:42 -0700 Subject: [PATCH 2/2] ci: restore the Run Tests step name The rename to ci.yml also renamed the test step; only the workflow is CI. Claude-Session: https://claude.ai/code/session_01QKDYQr53zNKkR7nif2CAAq --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f7f8be047..4c4bca6c4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -45,7 +45,7 @@ jobs: with: go-version: ${{ matrix.go }} - - name: CI + - name: Run Tests run: go test -race --coverprofile=coverage.coverprofile --covermode=atomic ./... - name: Upload coverage to Codecov