Skip to content

Commit f45d53b

Browse files
Fix GitHub-workflows
1 parent 9cf1672 commit f45d53b

6 files changed

Lines changed: 18 additions & 18 deletions

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
jobs:
88
build:
99
name: Build
10-
runs-on: windows-2019
10+
runs-on: windows-2022
1111
steps:
1212
- uses: actions/checkout@master
1313
- name: Setup dotnet
@@ -30,7 +30,7 @@ jobs:
3030
runs-on: ${{ matrix.os }}
3131
strategy:
3232
matrix:
33-
os: [ macos-latest, ubuntu-latest, windows-2019 ]
33+
os: [ macos-latest, ubuntu-latest, windows-2022 ]
3434
steps:
3535
- uses: actions/checkout@master
3636
- name: Setup dotnet
@@ -49,7 +49,7 @@ jobs:
4949

5050
sonar-ci:
5151
name: SonarCloud
52-
runs-on: windows-2019
52+
runs-on: windows-2022
5353
steps:
5454
- uses: actions/checkout@v2
5555
with:
@@ -69,14 +69,14 @@ jobs:
6969
working-directory: ./source
7070
run: dotnet clean -c Release && dotnet nuget locals all --clear
7171
- name: Cache SonarCloud packages
72-
uses: actions/cache@v1
72+
uses: actions/cache@v4
7373
with:
7474
path: ~\sonar\cache
7575
key: ${{ runner.os }}-sonar
7676
restore-keys: ${{ runner.os }}-sonar
7777
- name: Cache SonarCloud scanner
7878
id: cache-sonar-scanner
79-
uses: actions/cache@v1
79+
uses: actions/cache@v4
8080
with:
8181
path: .\.sonar\scanner
8282
key: ${{ runner.os }}-sonar-scanner
@@ -137,7 +137,7 @@ jobs:
137137
fail-on-alert: false
138138
alert-comment-cc-users: '@zjklee'
139139
- name: Upload Artifacts
140-
uses: actions/upload-artifact@v2
140+
uses: actions/upload-artifact@v4
141141
with:
142142
name: Benchmark
143143
path: source/Handlebars.Benchmark/BenchmarkDotNet.Artifacts/results/

.github/workflows/pull_request.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
jobs:
88
build:
99
name: Build
10-
runs-on: windows-2019
10+
runs-on: windows-2022
1111
steps:
1212
- uses: actions/checkout@master
1313
- name: Setup dotnet
@@ -30,7 +30,7 @@ jobs:
3030
runs-on: ${{ matrix.os }}
3131
strategy:
3232
matrix:
33-
os: [ macos-latest, ubuntu-latest, windows-2019 ]
33+
os: [ macos-latest, ubuntu-latest, windows-2022 ]
3434
steps:
3535
- uses: actions/checkout@master
3636
- name: Setup dotnet
@@ -49,7 +49,7 @@ jobs:
4949

5050
sonar-pr:
5151
name: SonarCloud
52-
runs-on: windows-2019
52+
runs-on: windows-2022
5353
steps:
5454
- uses: actions/checkout@v2
5555
with:
@@ -69,14 +69,14 @@ jobs:
6969
working-directory: ./source
7070
run: dotnet clean -c Release && dotnet nuget locals all --clear
7171
- name: Cache SonarCloud packages
72-
uses: actions/cache@v1
72+
uses: actions/cache@v4
7373
with:
7474
path: ~\sonar\cache
7575
key: ${{ runner.os }}-sonar
7676
restore-keys: ${{ runner.os }}-sonar
7777
- name: Cache SonarCloud scanner
7878
id: cache-sonar-scanner
79-
uses: actions/cache@v1
79+
uses: actions/cache@v4
8080
with:
8181
path: .\.sonar\scanner
8282
key: ${{ runner.os }}-sonar-scanner
@@ -138,7 +138,7 @@ jobs:
138138
alert-comment-cc-users: '@zjklee'
139139

140140
- name: Upload Artifacts
141-
uses: actions/upload-artifact@v2
141+
uses: actions/upload-artifact@v4
142142
with:
143143
name: Benchmark
144144
path: source/Handlebars.Benchmark/BenchmarkDotNet.Artifacts/results/

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
jobs:
88
publish:
99
name: Publish
10-
runs-on: windows-2019
10+
runs-on: windows-2022
1111
steps:
1212
- uses: actions/checkout@v2
1313

source/Handlebars.Benchmark/Handlebars.Benchmark.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
</PropertyGroup>
1010

1111
<ItemGroup>
12-
<PackageReference Include="BenchmarkDotNet" Version="0.12.1" />
13-
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
12+
<PackageReference Include="BenchmarkDotNet" Version="0.15.4" />
13+
<PackageReference Include="Newtonsoft.Json" Version="13.0.4" />
1414
</ItemGroup>
1515

1616
<ItemGroup>

source/Handlebars.Test/Handlebars.Test.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@
1717
</ItemGroup>
1818

1919
<ItemGroup>
20-
<PackageReference Include="coverlet.collector" Version="1.2.1">
20+
<PackageReference Include="coverlet.collector" Version="6.0.4">
2121
<PrivateAssets>all</PrivateAssets>
2222
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2323
</PackageReference>
24-
<PackageReference Include="GitHubActionsTestLogger" Version="1.1.0" />
24+
<PackageReference Include="GitHubActionsTestLogger" Version="1.3.0"/>
2525
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
2626
<PackageReference Include="NSubstitute" Version="4.2.2" />
2727
<PackageReference Include="xunit" Version="2.4.1" />

source/Handlebars/Handlebars.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656

5757
<ItemGroup>
5858
<PackageReference Include="ExpressionShortcuts" Version="1.0.4.39" PrivateAssets="All" />
59-
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" />
59+
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" />
6060
</ItemGroup>
6161

6262
</Project>

0 commit comments

Comments
 (0)