You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Description
<!-- Please provide a general summary of your PR changes and link any
related issues or other pull requests. -->
# Testing
<!--
Please provide details on how you tested this code. See below.
- All pull requests must be tested (unit tests where possible with
accompanying cassettes, or provide a screenshot of end-to-end testing
when unit tests are not possible)
- New features must get a new unit test
- Bug fixes/refactors must re-record existing cassettes
-->
# Pull Request Type
Please select the option(s) that are relevant to this PR.
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] Improvement (fixing a typo, updating readme, renaming a variable
name, etc)
Copy file name to clipboardExpand all lines: .github/workflows/ci.yml
+44-52Lines changed: 44 additions & 52 deletions
Original file line number
Diff line number
Diff line change
@@ -10,69 +10,65 @@ jobs:
10
10
lint:
11
11
runs-on: windows-latest
12
12
steps:
13
-
- uses: actions/checkout@v5
14
-
15
-
- name: Install .NET SDK
16
-
uses: actions/setup-dotnet@v5
13
+
- uses: actions/checkout@v6
14
+
- uses: extractions/setup-just@v3
15
+
- uses: actions/setup-dotnet@v5
17
16
with:
18
17
dotnet-version: 10.x.x
19
18
20
19
- name: Set up dotnet tools
21
-
run: make install-tools
20
+
run: just install-tools
22
21
23
22
- name: Check style with dotnet-format
24
-
run: make lint
23
+
run: just lint
25
24
Security_Code_Scan:
26
25
runs-on: windows-latest
27
26
steps:
28
-
- uses: actions/checkout@v5
29
-
30
-
- name: Install .NET SDK
31
-
uses: actions/setup-dotnet@v5
27
+
- uses: actions/checkout@v6
28
+
- uses: extractions/setup-just@v3
29
+
- uses: actions/setup-dotnet@v5
32
30
with:
33
31
# v6 is needed for the tool to run
34
32
dotnet-version: |
35
33
10.x.x
36
34
6.x.x
37
35
38
36
- name: Set up dotnet tools and dependencies
39
-
run: make install
37
+
run: just install
40
38
41
39
- name: Run security analysis
42
-
run: make scan
40
+
run: just scan
43
41
44
42
Coverage_Requirements:
45
43
runs-on: ubuntu-latest
46
44
steps:
47
-
- uses: actions/checkout@v5
48
-
49
-
- name: Install .NET SDK
50
-
uses: actions/setup-dotnet@v5
45
+
- uses: actions/checkout@v6
46
+
- uses: extractions/setup-just@v3
47
+
- uses: actions/setup-dotnet@v5
51
48
with:
52
49
dotnet-version: 10.x.x
53
50
54
51
- name: Set up dotnet tools and dependencies
55
-
run: make install
52
+
run: just install
56
53
57
54
- name: Check if test suite coverage meets requirements
58
-
run: make coverage-check
55
+
run: just coverage-check
59
56
60
57
Upload_Coverage_Report:
61
58
if: github.ref == 'refs/heads/master'
62
59
runs-on: ubuntu-latest
63
60
steps:
64
-
- uses: actions/checkout@v5
65
-
66
-
- name: Install .NET SDK
67
-
uses: actions/setup-dotnet@v5
61
+
- uses: actions/checkout@v6
62
+
- uses: extractions/setup-just@v3
63
+
- uses: actions/setup-dotnet@v5
68
64
with:
69
65
dotnet-version: 10.x.x
70
66
71
67
- name: Set up dotnet tools and dependencies
72
-
run: make install
68
+
run: just install
73
69
74
70
- name: Generate coverage report
75
-
run: make coverage
71
+
run: just coverage
76
72
77
73
- name: Upload lcov coverage report to Coveralls
78
74
uses: coverallsapp/github-action@master
@@ -103,12 +99,11 @@ jobs:
103
99
framework: net10.0
104
100
dotnet-version: 10.x.x
105
101
steps:
106
-
- uses: actions/checkout@v5
102
+
- uses: actions/checkout@v6
107
103
with:
108
104
submodules: true
109
-
110
-
- name: Install .NET SDK
111
-
uses: actions/setup-dotnet@v5
105
+
- uses: extractions/setup-just@v3
106
+
- uses: actions/setup-dotnet@v5
112
107
with:
113
108
dotnet-version: |
114
109
10.x.x
@@ -133,15 +128,15 @@ jobs:
133
128
${{ runner.os }}-nuget-
134
129
135
130
- name: Restore NuGet Packages
136
-
run: make restore
131
+
run: just restore
137
132
138
133
# Pull in fixtures submodule
139
134
- name: Set up dotnet tools and dependencies
140
-
run: make install
135
+
run: just install
141
136
142
137
# Run the unit tests in a specific framework (verify that the library works in that framework)
143
138
- name: Run Tests
144
-
run: make unit-test FW=${{ matrix.framework }}
139
+
run: just unit-test ${{ matrix.framework }}
145
140
146
141
# .NET Standard notes:
147
142
# - NET Standard 2.0 is compatible with minimum .NET Framework 4.6.1: https://docs.microsoft.com/en-us/dotnet/standard/net-standard?tabs=net-standard-2-0
@@ -156,12 +151,11 @@ jobs:
156
151
# Need windows-2022 for .NET Framework 4.7.2 support
0 commit comments