Skip to content

Commit 12537e3

Browse files
committed
Switch GitHub Actions to ubuntu-slim runners
This reduces resource usage and costs by using the lighter ubuntu-slim runner instead of ubuntu-latest for all workflow jobs.
1 parent 1c58ac9 commit 12537e3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/update-flake.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ on:
3131
required: true
3232
jobs:
3333
discover:
34-
runs-on: ubuntu-latest
34+
runs-on: ubuntu-slim
3535
outputs:
3636
matrix: ${{ steps.build-matrix.outputs.matrix }}
3737
has-updates: ${{ steps.build-matrix.outputs.has-updates }}
@@ -50,7 +50,7 @@ jobs:
5050
update:
5151
needs: discover
5252
if: needs.discover.outputs.has-updates == 'true'
53-
runs-on: ubuntu-latest
53+
runs-on: ubuntu-slim
5454
strategy:
5555
fail-fast: false
5656
matrix: ${{ fromJson(needs.discover.outputs.matrix) }}
@@ -103,7 +103,7 @@ jobs:
103103
"${{ steps.update.outputs.new_version }}"
104104
summary:
105105
needs: [discover, update]
106-
runs-on: ubuntu-latest
106+
runs-on: ubuntu-slim
107107
if: always() && needs.discover.outputs.has-updates == 'true'
108108
steps:
109109
- name: Generate summary

0 commit comments

Comments
 (0)