Skip to content

Commit ecc5e8c

Browse files
committed
Reverted Build Changes
1 parent 21f5c3c commit ecc5e8c

File tree

4 files changed

+81
-13
lines changed

4 files changed

+81
-13
lines changed

.github/workflows/ci-cleanup.yml

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

88
jobs:
99
cleanup:
10-
runs-on: self-ubuntu
10+
runs-on: ubuntu-latest
1111
steps:
1212
- name: Check out code
1313
uses: actions/checkout@v3

.github/workflows/ci.yml

Lines changed: 54 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ concurrency:
1212
jobs:
1313
check-changes:
1414
name: Check for Changes
15-
runs-on: self-ubuntu
15+
runs-on: ubuntu-latest
1616
if: github.event.pull_request.draft == false
1717
outputs:
1818
website_changes: ${{ steps.check-website.outputs.website_changes }}
@@ -56,7 +56,7 @@ jobs:
5656
5757
pr-labeler:
5858
name: Apply Labels
59-
runs-on: self-ubuntu
59+
runs-on: ubuntu-latest
6060
permissions:
6161
contents: read
6262
pull-requests: write
@@ -67,13 +67,20 @@ jobs:
6767

6868
spellcheck:
6969
name: "Spellcheck Documentation"
70-
runs-on: self-ubuntu
70+
runs-on: ubuntu-latest
7171
needs: check-changes
7272
if: needs.check-changes.outputs.website_changes == 'true'
7373
steps:
7474
- uses: actions/checkout@v2
7575
name: Check out the code
7676

77+
- name: Install Node.js
78+
uses: actions/setup-node@v2
79+
with:
80+
node-version: '20'
81+
cache: 'yarn'
82+
cache-dependency-path: 'website/yarn.lock'
83+
7784
- name: Install cspell
7885
run: npm install -g cspell
7986

@@ -84,11 +91,18 @@ jobs:
8491
name: "Website Tests"
8592
needs: check-changes
8693
if: needs.check-changes.outputs.website_changes == 'true'
87-
runs-on: self-ubuntu
94+
runs-on: ubuntu-latest
8895
steps:
8996
- name: Checkout Repository
9097
uses: actions/checkout@v2
9198

99+
- name: Install Node.js
100+
uses: actions/setup-node@v2
101+
with:
102+
node-version: '14.x'
103+
cache: 'yarn'
104+
cache-dependency-path: 'website/yarn.lock'
105+
92106
- name: Cache Yarn Packages
93107
uses: actions/cache@v3
94108
with:
@@ -109,7 +123,7 @@ jobs:
109123

110124
configure:
111125
name: Generate Test Matrix
112-
runs-on: self-ubuntu
126+
runs-on: ubuntu-latest
113127
needs: check-changes
114128
if: needs.check-changes.outputs.library_changes == 'true'
115129

@@ -120,6 +134,13 @@ jobs:
120134
- name: Checkout to repository
121135
uses: actions/checkout@v3
122136

137+
- name: Install .NET
138+
uses: actions/setup-dotnet@v3
139+
with:
140+
dotnet-version: |
141+
7.x
142+
8.x
143+
123144
- name: Generate Test Matrix
124145
run: dotnet run --project ./.build -- GenerateMatrix
125146

@@ -129,7 +150,7 @@ jobs:
129150

130151
library-tests:
131152
name: Run ${{ matrix.name }}
132-
runs-on: self-ubuntu
153+
runs-on: ubuntu-latest
133154
needs: [configure, check-changes]
134155
if: needs.check-changes.outputs.library_changes == 'true'
135156

@@ -141,6 +162,14 @@ jobs:
141162
- name: Checkout repository
142163
uses: actions/checkout@v2
143164

165+
- name: Install .NET
166+
uses: actions/setup-dotnet@v3
167+
with:
168+
dotnet-version: |
169+
6.x
170+
7.x
171+
8.x
172+
144173
- uses: actions/cache@v3
145174
with:
146175
path: ~/.nuget/packages
@@ -261,6 +290,14 @@ jobs:
261290
- name: Checkout repository
262291
uses: actions/checkout@v2
263292

293+
- name: Install .NET
294+
uses: actions/setup-dotnet@v3
295+
with:
296+
dotnet-version: |
297+
6.x
298+
7.x
299+
8.x
300+
264301
- uses: actions/cache@v3
265302
with:
266303
path: ~/.nuget/packages
@@ -286,11 +323,20 @@ jobs:
286323
name: Merge and Upload Coverage
287324
needs: library-tests
288325
if: always() && needs.library-tests.result != 'cancelled'
289-
runs-on: self-ubuntu
326+
runs-on: ubuntu-latest
290327
steps:
291328
- name: Checkout repository
292329
uses: actions/checkout@v2
293330

331+
- name: Install .NET
332+
if: ${{ !cancelled() }}
333+
uses: actions/setup-dotnet@v3
334+
with:
335+
dotnet-version: |
336+
6.x
337+
7.x
338+
8.x
339+
294340
- uses: actions/cache@v3
295341
if: ${{ !cancelled() }}
296342
with:
@@ -337,7 +383,7 @@ jobs:
337383
name: "CI Status Check"
338384
needs: [library-tests, website-tests]
339385
if: always()
340-
runs-on: self-ubuntu
386+
runs-on: ubuntu-latest
341387
steps:
342388
- name: Check if Library Tests or Website Tests failed
343389
run: exit 1

.github/workflows/coverage.yml

Lines changed: 26 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ concurrency:
1414
jobs:
1515
configure:
1616
name: Generate Test Matrix
17-
runs-on: self-ubuntu
17+
runs-on: ubuntu-latest
1818

1919
outputs:
2020
matrix: ${{ steps.set-matrix.outputs.matrix }}
@@ -23,6 +23,13 @@ jobs:
2323
- name: Checkout to repository
2424
uses: actions/checkout@v3
2525

26+
- name: Install .NET
27+
uses: actions/setup-dotnet@v3
28+
with:
29+
dotnet-version: |
30+
7.x
31+
8.x
32+
2633
- name: Generate Test Matrix
2734
run: dotnet run --project ./.build -- GenerateMatrix
2835

@@ -32,7 +39,7 @@ jobs:
3239

3340
library-tests:
3441
name: Run ${{ matrix.name }}
35-
runs-on: self-ubuntu
42+
runs-on: ubuntu-latest
3643
needs: configure
3744

3845
strategy:
@@ -43,6 +50,14 @@ jobs:
4350
- name: Checkout repository
4451
uses: actions/checkout@v2
4552

53+
- name: Install .NET
54+
uses: actions/setup-dotnet@v3
55+
with:
56+
dotnet-version: |
57+
6.x
58+
7.x
59+
8.x
60+
4661
- uses: actions/cache@v3
4762
with:
4863
path: ~/.nuget/packages
@@ -100,11 +115,19 @@ jobs:
100115
name: Merge and Upload Coverage
101116
needs: library-tests
102117
if: always() && needs.library-tests.result != 'cancelled'
103-
runs-on: self-ubuntu
118+
runs-on: ubuntu-latest
104119
steps:
105120
- name: Checkout repository
106121
uses: actions/checkout@v2
107122

123+
- name: Install .NET
124+
uses: actions/setup-dotnet@v3
125+
with:
126+
dotnet-version: |
127+
6.x
128+
7.x
129+
8.x
130+
108131
- uses: actions/cache@v3
109132
if: ${{ !cancelled() }}
110133
with:

.github/workflows/release.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,3 @@ jobs:
5959
done
6060
env:
6161
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
62-

0 commit comments

Comments
 (0)