Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Always use ubuntu-latest #86

Merged
merged 1 commit into from
Sep 30, 2024
Merged

Always use ubuntu-latest #86

merged 1 commit into from
Sep 30, 2024

Conversation

masutaka
Copy link
Member

概要

CodeQL 関連 workflow だけ、ubuntu-22.04 を使っている。他の reusable workflow は全て ubuntu-latest。

Ubuntu のバージョンを固定して、セキュリティや信頼性を高めようとしたのだと思う。

経験上、GitHub Actions で Ubuntu バージョンを固定しなくて壊れたことはないし、自動アップデートの仕組みもないと思うので、ubuntu-latest に変更する。

動作確認

大丈夫そうです。
https://github.com/masutaka/sandbox/actions/runs/11101601135

参考

現在の ubuntu-latest は ubuntu-24.04 へのエイリアス。
https://github.com/actions/runner-images/tree/ce5aa1950d31fd67c0014160a0164005a3e7f43c

ubuntu-22.04 の End of Standard Support は 2027/04。
https://ubuntu.com/about/release-cycle

@masutaka masutaka self-assigned this Sep 30, 2024
@masutaka masutaka changed the title Always Use ubuntu-latest Always use ubuntu-latest Sep 30, 2024
@masutaka masutaka marked this pull request as ready for review September 30, 2024 07:46
@masutaka masutaka requested a review from a team as a code owner September 30, 2024 07:46
@masutaka masutaka requested review from TomckySan and MH4GF September 30, 2024 07:46
Copy link
Member

@TomckySan TomckySan left a comment

Choose a reason for hiding this comment

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

📝 方針確認済み。異論なし。

Copy link
Contributor

@MH4GF MH4GF left a comment

Choose a reason for hiding this comment

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

良いと思います 👍🏻

@masutaka
Copy link
Member Author

thx!

@masutaka masutaka added this pull request to the merge queue Sep 30, 2024
Merged via the queue into main with commit 9ee4a14 Sep 30, 2024
3 checks passed
@masutaka masutaka deleted the ubuntu-latest branch September 30, 2024 08:25
@route06-actions-ci route06-actions-ci bot mentioned this pull request Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants