Skip to content

Commit 3c06589

Browse files
authored
chore(ci): migrate fast and simple actions to ubuntu-slim runner (#703)
1 parent ed48249 commit 3c06589

6 files changed

Lines changed: 9 additions & 9 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
lint:
1717
timeout-minutes: 10
1818
name: lint
19-
runs-on: ${{ github.repository == 'stainless-sdks/runloop-node' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
19+
runs-on: ${{ github.repository == 'stainless-sdks/runloop-node' && 'depot-ubuntu-24.04' || 'ubuntu-slim' }}
2020
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
2121
steps:
2222
- uses: actions/checkout@v6
@@ -35,7 +35,7 @@ jobs:
3535
build:
3636
timeout-minutes: 5
3737
name: build
38-
runs-on: ${{ github.repository == 'stainless-sdks/runloop-node' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
38+
runs-on: ${{ github.repository == 'stainless-sdks/runloop-node' && 'depot-ubuntu-24.04' || 'ubuntu-slim' }}
3939
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
4040
permissions:
4141
contents: read

.github/workflows/publish-docs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ permissions:
1212

1313
jobs:
1414
get_history: # create an artifact from the existing documentation builds
15-
runs-on: ubuntu-latest
15+
runs-on: ubuntu-slim
1616
steps:
1717
- name: get the gh-pages repo
1818
uses: runloopai/checkout@main
@@ -32,7 +32,7 @@ jobs:
3232

3333
build: # builds the distribution and then the documentation
3434
needs: get_history
35-
runs-on: ubuntu-latest
35+
runs-on: ubuntu-slim
3636
steps:
3737
- name: Checkout src
3838
uses: runloopai/checkout@main
@@ -66,7 +66,7 @@ jobs:
6666

6767
commit: # commit the old and new merged documents to gh-pages/docs
6868
needs: build
69-
runs-on: ubuntu-latest
69+
runs-on: ubuntu-slim
7070
steps:
7171
- name: checkout the gh-pages repo
7272
uses: runloopai/checkout@main

.github/workflows/publish-npm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
jobs:
1212
publish:
1313
name: publish
14-
runs-on: ubuntu-latest
14+
runs-on: ubuntu-slim
1515
permissions:
1616
contents: read
1717
id-token: write # Required for OIDC

.github/workflows/release-doctor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
jobs:
99
release_doctor:
1010
name: release doctor
11-
runs-on: ubuntu-latest
11+
runs-on: ubuntu-slim
1212
if: github.repository == 'runloopai/api-client-ts' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || startsWith(github.head_ref, 'release-please') || github.head_ref == 'next')
1313

1414
steps:

.github/workflows/sdk-coverage.yml

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

1919
jobs:
2020
smoke-and-coverage:
21-
runs-on: ubuntu-latest
21+
runs-on: ubuntu-slim
2222
timeout-minutes: 120
2323
steps:
2424
- name: Checkout

.github/workflows/set-stable-tag.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
jobs:
1313
set-stable-tag:
1414
name: Set stable tag
15-
runs-on: ubuntu-latest
15+
runs-on: ubuntu-slim
1616

1717
steps:
1818
- uses: runloopai/checkout@main

0 commit comments

Comments
 (0)