Skip to content

Commit 9775cb0

Browse files
blacksmith.sh: Migrate workflows to Blacksmith (#1997)
Co-authored-by: blacksmith-sh[bot] <157653362+blacksmith-sh[bot]@users.noreply.github.com>
1 parent 6b3e3cb commit 9775cb0

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.github/workflows/Build and test.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ on:
88

99
jobs:
1010
Build:
11-
runs-on: ubuntu-latest
11+
runs-on: blacksmith-4vcpu-ubuntu-2204
1212
steps:
1313
- uses: actions/checkout@v4
1414
- name: Bulid from src
15-
uses: actions/setup-node@v4
15+
uses: useblacksmith/setup-node@v5
1616
with:
1717
node-version: '20.x'
1818
- run: yarn install --frozen-lockfile
@@ -29,14 +29,14 @@ jobs:
2929

3030
test_node:
3131
needs: Build
32-
runs-on: ubuntu-latest
32+
runs-on: blacksmith-4vcpu-ubuntu-2204
3333
strategy:
3434
matrix:
3535
node-version: [15.x, 16.x, 17.x, 18.x, 19.x, latest]
3636
steps:
3737
- uses: actions/checkout@v4
3838
- name: Run prod version with Node v${{ matrix.node-version }}
39-
uses: actions/setup-node@v4
39+
uses: useblacksmith/setup-node@v5
4040
with:
4141
node-version: ${{ matrix.node-version }}
4242
- uses: actions/download-artifact@master
@@ -52,7 +52,7 @@ jobs:
5252

5353
test_browser:
5454
needs: Build
55-
runs-on: ubuntu-latest
55+
runs-on: blacksmith-4vcpu-ubuntu-2204
5656
steps:
5757
- uses: actions/checkout@v4
5858
- uses: actions/download-artifact@master

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
# - https://gh.io/supported-runners-and-hardware-resources
2929
# - https://gh.io/using-larger-runners
3030
# Consider using larger runners for possible analysis time improvements.
31-
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
31+
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'blacksmith-4vcpu-ubuntu-2204' }}
3232
timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }}
3333
permissions:
3434
actions: read

.github/workflows/scorecard.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ permissions: read-all
2020
jobs:
2121
analysis:
2222
name: Scorecard analysis
23-
runs-on: ubuntu-latest
23+
runs-on: blacksmith-4vcpu-ubuntu-2204
2424
permissions:
2525
# Needed to upload the results to code-scanning dashboard.
2626
security-events: write

0 commit comments

Comments
 (0)