Skip to content

fix: avoid broken apt sources in stats workflow - #215

Merged
godofecht merged 1 commit into
mainfrom
fix/stats-clang-no-apt
Aug 5, 2026
Merged

godofecht merged 1 commit into
mainfrom
fix/stats-clang-no-apt

Conversation

@godofecht

Copy link
Copy Markdown
Contributor

Summary

  • Stop running apt-get update merely to install clang in the repository-stats job.
  • Use the clang already included in GitHub's ubuntu-latest runner image and print its version.
  • Avoid failures from unrelated third-party APT sources such as packages.microsoft.com returning HTTP 403.

Test plan

  • Workflow YAML parses successfully.
  • Compiler availability check (command -v clang && clang --version) succeeds locally.
  • Run the Repository Stats workflow manually after merge.

Failed run

https://github.com/flooooooooooow/flow/actions/runs/31041319849

Made with Cursor

The ubuntu-latest image already includes clang. Verify the compiler directly
instead of running apt-get update, which can fail on unrelated third-party
Microsoft repositories and prevent repository statistics from running.

Co-authored-by: Cursor <[email protected]>
@godofecht
godofecht merged commit ab4ff88 into main Aug 5, 2026
12 checks passed
@godofecht
godofecht deleted the fix/stats-clang-no-apt branch August 5, 2026 20:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant