1
0
Fork 0
mirror of https://code.forgejo.org/forgejo/runner.git synced 2025-08-16 18:01:34 +00:00

test: fix failures caused by node24 usage in hello-world-javascript-action [skip cascade] (#830)

node24 support has been added to GitHub Actions runner (https://github.com/actions/runner/releases/tag/v2.327.1), after which hello-world-javascript-action was updated to node24 (d5e3943272) causing test failures since forgejo-runner doesn't support `node24`.  To unblock test execution, this pins to the `v1` tag which was already done in two other tests anyway.

<!--start release-notes-assistant-->
<!--URL:https://code.forgejo.org/forgejo/runner-->
- other
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/830): <!--number 830 --><!--line 0 --><!--description dGVzdDogZml4IGZhaWx1cmVzIGNhdXNlZCBieSBub2RlMjQgdXNhZ2UgaW4gaGVsbG8td29ybGQtamF2YXNjcmlwdC1hY3Rpb24gW3NraXAgY2FzY2FkZV0=-->test: fix failures caused by node24 usage in hello-world-javascript-action [skip cascade]<!--description-->
<!--end release-notes-assistant-->

Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/830
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
Co-authored-by: Mathieu Fenniak <mathieu@fenniak.net>
Co-committed-by: Mathieu Fenniak <mathieu@fenniak.net>
This commit is contained in:
Mathieu Fenniak 2025-08-10 12:03:50 +00:00 committed by earl-warren
parent 7a31b6a55e
commit a737f197c7
No known key found for this signature in database
GPG key ID: F128CBE6AB3A7201
3 changed files with 9 additions and 10 deletions

View file

@ -15,7 +15,7 @@ jobs:
fetch-depth: 5
- name: My first true step
if: ${{endsWith('Hello world', 'ld')}}
uses: https://github.com/actions/hello-world-javascript-action@main
uses: https://github.com/actions/hello-world-javascript-action@v1
with:
who-to-greet: "Renst the Octocat"
- name: My second false step

View file

@ -9,23 +9,22 @@ jobs:
steps:
- name: My first false step
if: "endsWith('Hello world', 'o1')"
uses: https://github.com/actions/hello-world-javascript-action@main
uses: https://github.com/actions/hello-world-javascript-action@v1
with:
who-to-greet: 'Mona the Octocat'
- name: My first true step
if: "!endsWith('Hello world', 'od')"
uses: https://github.com/actions/hello-world-javascript-action@main
uses: https://github.com/actions/hello-world-javascript-action@v1
with:
who-to-greet: "Renst the Octocat"
- name: My second false step
if: "endsWith('Hello world', 'o2')"
uses: https://github.com/actions/hello-world-javascript-action@main
uses: https://github.com/actions/hello-world-javascript-action@v1
with:
who-to-greet: 'Act the Octocat'
- name: My third false step
if: "endsWith('Hello world', 'o2')"
uses: https://github.com/actions/hello-world-javascript-action@main
uses: https://github.com/actions/hello-world-javascript-action@v1
with:
who-to-greet: 'Git the Octocat'

View file

@ -9,7 +9,7 @@ jobs:
- uses: ./actions/action1
with:
args: echo 'build'
- uses: https://github.com/actions/hello-world-javascript-action@master
- uses: https://github.com/actions/hello-world-javascript-action@v1
with:
who-to-greet: 'Mona the Octocat'
test1: