Skip to content

Commit f76a4f2

Browse files
authored
Chore: aktualizace verzí GitHub Actions (#87)
## Souhrn Aktualizace zastaralých major verzí akcí ve workflow souborech: | Akce | Původní | Nová | Soubory | |---|---|---|---| | actions/checkout | v5 | v7 | dotnet.yml, publish.yml | | actions/setup-dotnet | v5 | v6 | dotnet.yml, publish.yml | | actions/upload-artifact | v4 | v7 | dotnet.yml | | actions/github-script | v8 | v9 | assign-pr-author.yml | Docker akce (`docker/login-action@v4`, `docker/metadata-action@v6`, `docker/setup-buildx-action@v4`, `docker/build-push-action@v7`) jsou už na nejnovějších major verzích — `promote.yml` proto beze změny. ## Breaking changes Prošel jsem release notes všech přeskočených major verzí — žádný breaking change se tohoto repa netýká. Nové verze znamenají hlavně přechod na Node.js 24 a ESM (vyžaduje runner ≥ 2.327.1, což GitHub-hosted `ubuntu-latest` splňuje). Skript v `assign-pr-author.yml` nepoužívá `require('@actions/github')` ani redeklaraci `getOctokit`, které github-script v9 rozbíjí.
1 parent ff49a1b commit f76a4f2

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/assign-pr-author.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414

1515
steps:
1616
- name: Assign PR author when no assignee exists
17-
uses: actions/github-script@v8
17+
uses: actions/github-script@v9
1818
with:
1919
script: |
2020
const pr = context.payload.pull_request;

.github/workflows/dotnet.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ jobs:
2020
timeout-minutes: 15
2121

2222
steps:
23-
- uses: actions/checkout@v5
23+
- uses: actions/checkout@v7
2424
- name: Setup .NET
25-
uses: actions/setup-dotnet@v5
25+
uses: actions/setup-dotnet@v6
2626
with:
2727
dotnet-version: 10.0.x
2828
- name: Restore dependencies
@@ -33,7 +33,7 @@ jobs:
3333
run: dotnet test --no-build -c Release --verbosity normal --logger "trx" --collect:"XPlat Code Coverage" --results-directory ./TestResults
3434
- name: Upload test results
3535
if: ${{ !cancelled() }}
36-
uses: actions/upload-artifact@v4
36+
uses: actions/upload-artifact@v7
3737
with:
3838
name: test-results
3939
path: |

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ jobs:
1313
timeout-minutes: 30
1414

1515
steps:
16-
- uses: actions/checkout@v5
16+
- uses: actions/checkout@v7
1717

1818
- name: Setup .NET
19-
uses: actions/setup-dotnet@v5
19+
uses: actions/setup-dotnet@v6
2020
with:
2121
dotnet-version: '10.0.x'
2222

0 commit comments

Comments
 (0)