[PR #375] [MERGED] Fix test target #1428

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

📋 Pull Request Information

Original PR: https://github.com/nektos/act/pull/375
Author: @twpayne
Created: 9/28/2020
Status: Merged
Merged: 9/28/2020
Merged by: @cplee

Base: masterHead: fix-test-target


📝 Commits (2)

📊 Changes

1 file changed (+2 additions, -1 deletions)

View changed files

📝 Makefile (+2 -1)

📄 Description

This PR:

  • Removes stray code added in #369 (presumably added accidentally: examples/workflows does not exist).
  • Adds go test ./... to the test target.

Note that the test fail on my Ubuntu machine:

[push/lint    ] 🚀  Start image=node:12.6-buster-slim
[push/test    ] 🚀  Start image=node:12.6-buster-slim
[push/test    ]   🐳  docker run image=node:12.6-buster-slim entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[push/lint    ]   🐳  docker run image=node:12.6-buster-slim entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[push/test    ]   🐳  docker cp src=/home/twp/src/github.com/nektos/act/. dst=/github/workspace
[push/lint    ]   🐳  docker cp src=/home/twp/src/github.com/nektos/act/. dst=/github/workspace
[push/test    ] ⭐  Run actions/checkout@v2
[push/test    ]   ✅  Success - actions/checkout@v2
[push/test    ] ⭐  Run actions/setup-go@v1
[push/test    ]   ☁  git clone 'https://github.com/actions/setup-go' # ref=v1
[push/test    ] Unable to resolve v1: reference not found
[push/test    ]   ❌  Failure - actions/setup-go@v1
Error: reference not found
exit status 1

I think this is due to issue #311.


🔄 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/375 **Author:** [@twpayne](https://github.com/twpayne) **Created:** 9/28/2020 **Status:** ✅ Merged **Merged:** 9/28/2020 **Merged by:** [@cplee](https://github.com/cplee) **Base:** `master` ← **Head:** `fix-test-target` --- ### 📝 Commits (2) - [`e6a518e`](https://github.com/nektos/act/commit/e6a518e20fadfe2cea7d9f5b7b10f9a33f76aaae) Fix test target - [`c45d311`](https://github.com/nektos/act/commit/c45d3115fe18320951f080932aefbd3db10d7779) Run Go tests in test target ### 📊 Changes **1 file changed** (+2 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `Makefile` (+2 -1) </details> ### 📄 Description This PR: * Removes stray code added in #369 (presumably added accidentally: `examples/workflows` does not exist). * Adds `go test ./...` to the `test` target. Note that the test fail on my Ubuntu machine: ``` [push/lint ] 🚀 Start image=node:12.6-buster-slim [push/test ] 🚀 Start image=node:12.6-buster-slim [push/test ] 🐳 docker run image=node:12.6-buster-slim entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[] [push/lint ] 🐳 docker run image=node:12.6-buster-slim entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[] [push/test ] 🐳 docker cp src=/home/twp/src/github.com/nektos/act/. dst=/github/workspace [push/lint ] 🐳 docker cp src=/home/twp/src/github.com/nektos/act/. dst=/github/workspace [push/test ] ⭐ Run actions/checkout@v2 [push/test ] ✅ Success - actions/checkout@v2 [push/test ] ⭐ Run actions/setup-go@v1 [push/test ] ☁ git clone 'https://github.com/actions/setup-go' # ref=v1 [push/test ] Unable to resolve v1: reference not found [push/test ] ❌ Failure - actions/setup-go@v1 Error: reference not found exit status 1 ``` I think this is due to issue #311. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-01 21:51:08 +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#1428
No description provided.