fix: reporting fetch failure as job error and log the error (#2715)

E.g. if GoGitAction Cache had a fetch failure this error did not trigger report jobResult Failure.

Also the error has been not printed until the last message before exit of act.

* adds tests for both corner cases
This commit is contained in:
ChristopherHX
2025-03-29 17:41:42 +01:00
committed by GitHub
parent 189f16fb96
commit 517c3ac467
3 changed files with 156 additions and 13 deletions

View File

@@ -0,0 +1,8 @@
name: basic
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: nektos/test-override@a