[PR #821] [MERGED] Remove ubuntu-16.04 and add missing links for nix/go #1630

Closed
opened 2026-03-01 21:52:00 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/nektos/act/pull/821
Author: @catthehacker
Created: 9/21/2021
Status: Merged
Merged: 9/22/2021
Merged by: @mergify[bot]

Base: masterHead: cat/fix/remove-ubuntu-16.04


📝 Commits (3)

  • b7819db fix: remove ubuntu-16.04
  • 7f009c4 fix: add missing links for nix/go
  • a65fe92 fix: remove specific platform versions

📊 Changes

4 files changed (+19 additions, -32 deletions)

View changed files

📝 IMAGES.md (+4 -8)
📝 README.md (+10 -14)
📝 cmd/platforms.go (+3 -8)
📝 cmd/root.go (+2 -2)

📄 Description

Fixes #645

GitHub removes ubuntu-16.04 environment since it reached standard EOL.

We will follow that change and remove default images for ubuntu-16.04 but it doesn't prevent users from using that platform.

To still use ubuntu-16.04, apart from being defined in workflow, it has to be specified via -P/--platform flags, e.g.:

act -P ubuntu-16.04=ghcr.io/catthehacker/ubuntu:act-16.04

.actrc:

-P ubuntu-16.04=node:12-stretch-slim

I'm not planning on removing Ubuntu 16.04 images, but they will eventually stop receiving updates so I advise on migrating to newer Ubuntu.


fix: remove specific platform versions: remove mention of specific versions to remove confusion since platforms such as macos-11 or windows-2022, windows-2016 exist

Platforms still will be properly inferred from workflow and README.md mentions about macOS and Windows

  ~/go/src/github.com/nektos/act cat/fix/remove-ubuntu-16.04 *14 ❯ go run main.go -W .github/workflows/test-windows.yml                                12:20:27 PM
[test-windows.yml/test] 🚧  Skipping unsupported platform -- Try running with `-P windows-latest=...`
  ~/go/src/github.com/nektos/act cat/fix/remove-ubuntu-16.04 *14 ❯ go run main.go -W .github/workflows/test-windows.yml                                12:21:46 PM
[test-windows.yml/test] 🚧  Skipping unsupported platform -- Try running with `-P windows-2016=...`
  ~/go/src/github.com/nektos/act cat/fix/remove-ubuntu-16.04 *14 ❯

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/nektos/act/pull/821 **Author:** [@catthehacker](https://github.com/catthehacker) **Created:** 9/21/2021 **Status:** ✅ Merged **Merged:** 9/22/2021 **Merged by:** [@mergify[bot]](https://github.com/apps/mergify) **Base:** `master` ← **Head:** `cat/fix/remove-ubuntu-16.04` --- ### 📝 Commits (3) - [`b7819db`](https://github.com/nektos/act/commit/b7819db1ec7a94af2260fb07722a4f4ee37b8d02) fix: remove ubuntu-16.04 - [`7f009c4`](https://github.com/nektos/act/commit/7f009c40e0f473bb7853e8b9f9a258e17d004027) fix: add missing links for nix/go - [`a65fe92`](https://github.com/nektos/act/commit/a65fe9260d285e0d46c41208fa78f054d6ee3e73) fix: remove specific platform versions ### 📊 Changes **4 files changed** (+19 additions, -32 deletions) <details> <summary>View changed files</summary> 📝 `IMAGES.md` (+4 -8) 📝 `README.md` (+10 -14) 📝 `cmd/platforms.go` (+3 -8) 📝 `cmd/root.go` (+2 -2) </details> ### 📄 Description Fixes #645 GitHub removes `ubuntu-16.04` environment since it reached standard EOL. We will follow that change and remove default images for `ubuntu-16.04` but it doesn't prevent users from using that platform. To still use `ubuntu-16.04`, apart from being defined in workflow, it has to be specified via `-P`/`--platform` flags, e.g.: ```sh act -P ubuntu-16.04=ghcr.io/catthehacker/ubuntu:act-16.04 ``` `.actrc`: ``` -P ubuntu-16.04=node:12-stretch-slim ``` I'm not planning on removing Ubuntu 16.04 images, but they will eventually stop receiving updates so I advise on migrating to newer Ubuntu. --- `fix: remove specific platform versions`: remove mention of specific versions to remove confusion since platforms such as `macos-11` or `windows-2022`, `windows-2016` exist Platforms still will be properly inferred from workflow and `README.md` mentions about macOS and Windows ```   ~/go/src/github.com/nektos/act cat/fix/remove-ubuntu-16.04 *14 ❯ go run main.go -W .github/workflows/test-windows.yml 12:20:27 PM [test-windows.yml/test] 🚧 Skipping unsupported platform -- Try running with `-P windows-latest=...`   ~/go/src/github.com/nektos/act cat/fix/remove-ubuntu-16.04 *14 ❯ go run main.go -W .github/workflows/test-windows.yml 12:21:46 PM [test-windows.yml/test] 🚧 Skipping unsupported platform -- Try running with `-P windows-2016=...`   ~/go/src/github.com/nektos/act cat/fix/remove-ubuntu-16.04 *14 ❯ ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-01 21:52:00 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/act#1630
No description provided.