Skip to content

Commit 4ca6eab

Browse files
Update CI workflow for .NET 9
1 parent baff62b commit 4ca6eab

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: CI
22

3-
on: [push, pull_request]
3+
on:
4+
push:
5+
pull_request:
6+
types: [opened]
47

58
jobs:
69
build:
@@ -18,14 +21,9 @@ jobs:
1821
with:
1922
fetch-depth: 0
2023
- name: Setup .NET
21-
uses: actions/setup-dotnet@v1
24+
uses: actions/setup-dotnet@v4.1.0
2225
with:
23-
dotnet-version: 8.0.100
24-
- name: Setup Java JDK
25-
uses: actions/setup-java@v3
26-
with:
27-
distribution: temurin
28-
java-version: 21
26+
dotnet-version: 9.0
2927
- name: Restore tools
3028
run: dotnet tool restore
3129
- name: Begin scan

0 commit comments

Comments
 (0)