Skip to content

Commit 640102c

Browse files
committed
fix: Use buildAndTestRunner everywhere
1 parent 7026f24 commit 640102c

File tree

6 files changed

+7
-6
lines changed

6 files changed

+7
-6
lines changed

.github/workflows/build-release.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ on:
2020
jobs:
2121
build-and-test:
2222
name: Build and Test
23-
runs-on: ubuntu-latest
23+
runs-on: udemy-latest
2424
permissions:
2525
id-token: write
2626
contents: read
@@ -70,7 +70,7 @@ jobs:
7070
name: Build and Release
7171
if: ${{ github.ref == 'refs/heads/main' }} # Only run on main branch commits
7272
needs: build-and-test
73-
runs-on: ubuntu-latest
73+
runs-on: udemy-latest
7474
permissions: write-all
7575
steps:
7676
- name: Checkout

.github/workflows/titlechecker.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ on:
1818
jobs:
1919
lint:
2020
name: Conventional Commit Title Checker
21-
runs-on: ubuntu-latest
21+
runs-on: udemy-latest
2222
permissions:
2323
statuses: write
2424
steps:

stencil.lock

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: 0.12.0
1+
version: 0.14.0
22
modules:
33
- name: github.com/udemy/eng-team-management
44
url: https://github.com/udemy/eng-team-management

stencil.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ arguments:
44
templateModule: true
55
githubOrg: udemy
66
githubOwner: "@udemy/platform"
7+
buildAndTestRunner: "udemy-latest"
78
modules:
89
- name: github.com/udemy/stencil-module-base
910
replacements:

templates/.github/workflows/build-release.yml.tpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ jobs:
112112
name: Build and Release
113113
if: {{ "${{ github.ref == 'refs/heads/main' }}" }} # Only run on main branch commits
114114
needs: build-and-test
115-
runs-on: ubuntu-latest
115+
runs-on: {{ stencil.Arg "buildAndTestRunner" | default "ubuntu-latest" }}
116116
permissions: write-all
117117
steps:
118118
- name: Checkout

templates/.github/workflows/titlechecker.yaml.tpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ on:
2828
jobs:
2929
lint:
3030
name: Conventional Commit Title Checker
31-
runs-on: ubuntu-latest
31+
runs-on: {{ stencil.Arg "buildAndTestRunner" | default "ubuntu-latest" }}
3232
permissions:
3333
statuses: write
3434
steps:

0 commit comments

Comments
 (0)