Skip to content

Commit 5ec99ce

Browse files
authored
ci: use self-hosted runners (#13)
## Summary - Replace `runs-on: ubuntu-latest` with `runs-on: [self-hosted, linux, x64, netcup, general]` in all workflow files #### Test plan - [ ] All CI jobs run successfully on the self-hosted runner
1 parent cde35c4 commit 5ec99ce

3 files changed

Lines changed: 10 additions & 10 deletions

File tree

.github/workflows/ci.yaml

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

99
jobs:
1010
changes:
11-
runs-on: ubuntu-latest
11+
runs-on: [self-hosted, linux, x64, netcup, general]
1212
outputs:
1313
lua: ${{ steps.changes.outputs.lua }}
1414
steps:
@@ -26,7 +26,7 @@ jobs:
2626
- 'selene.toml'
2727
2828
lua-format:
29-
runs-on: ubuntu-latest
29+
runs-on: [self-hosted, linux, x64, netcup, general]
3030
needs: changes
3131
if: ${{ needs.changes.outputs.lua == 'true' }}
3232
steps:
@@ -38,7 +38,7 @@ jobs:
3838
args: --check .
3939

4040
lua-lint:
41-
runs-on: ubuntu-latest
41+
runs-on: [self-hosted, linux, x64, netcup, general]
4242
needs: changes
4343
if: ${{ needs.changes.outputs.lua == 'true' }}
4444
steps:
@@ -49,7 +49,7 @@ jobs:
4949
args: --display-style quiet .
5050

5151
lua-typecheck:
52-
runs-on: ubuntu-latest
52+
runs-on: [self-hosted, linux, x64, netcup, general]
5353
needs: changes
5454
if: ${{ needs.changes.outputs.lua == 'true' }}
5555
steps:

.github/workflows/luarocks.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111

1212
publish:
1313
needs: ci
14-
runs-on: ubuntu-latest
14+
runs-on: [self-hosted, linux, x64, netcup, general]
1515

1616
steps:
1717
- uses: actions/checkout@v4

.github/workflows/quality.yaml

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

99
jobs:
1010
changes:
11-
runs-on: ubuntu-latest
11+
runs-on: [self-hosted, linux, x64, netcup, general]
1212
outputs:
1313
lua: ${{ steps.changes.outputs.lua }}
1414
markdown: ${{ steps.changes.outputs.markdown }}
@@ -30,7 +30,7 @@ jobs:
3030
3131
lua-format:
3232
name: Lua Format Check
33-
runs-on: ubuntu-latest
33+
runs-on: [self-hosted, linux, x64, netcup, general]
3434
needs: changes
3535
if: ${{ needs.changes.outputs.lua == 'true' }}
3636
steps:
@@ -43,7 +43,7 @@ jobs:
4343

4444
lua-lint:
4545
name: Lua Lint Check
46-
runs-on: ubuntu-latest
46+
runs-on: [self-hosted, linux, x64, netcup, general]
4747
needs: changes
4848
if: ${{ needs.changes.outputs.lua == 'true' }}
4949
steps:
@@ -56,7 +56,7 @@ jobs:
5656

5757
lua-typecheck:
5858
name: Lua Type Check
59-
runs-on: ubuntu-latest
59+
runs-on: [self-hosted, linux, x64, netcup, general]
6060
needs: changes
6161
if: ${{ needs.changes.outputs.lua == 'true' }}
6262
steps:
@@ -70,7 +70,7 @@ jobs:
7070

7171
markdown-format:
7272
name: Markdown Format Check
73-
runs-on: ubuntu-latest
73+
runs-on: [self-hosted, linux, x64, netcup, general]
7474
needs: changes
7575
if: ${{ needs.changes.outputs.markdown == 'true' }}
7676
steps:

0 commit comments

Comments
 (0)