Skip to content

Commit d5c4fb3

Browse files
committed
workflows: switch small jobs to ubuntu-slim
Save some resources. Signed-off-by: Benjamin Gilbert <bgilbert@cs.cmu.edu>
1 parent d0519ee commit d5c4fb3

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/java.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ permissions:
1313
jobs:
1414
pre-commit:
1515
name: Rerun pre-commit checks
16-
runs-on: ubuntu-latest
16+
runs-on: ubuntu-slim
1717
steps:
1818
- name: Check out repo
1919
uses: actions/checkout@v5
@@ -22,7 +22,7 @@ jobs:
2222
with:
2323
python-version: 3.14
2424
- name: Install dependencies
25-
run: python -m pip install pre-commit
25+
run: python -m pip install pre-commit PyYAML
2626
- name: Cache pre-commit environments
2727
uses: actions/cache@v4
2828
with:
@@ -112,7 +112,7 @@ jobs:
112112
name: Release
113113
if: github.ref_type == 'tag'
114114
needs: build
115-
runs-on: ubuntu-latest
115+
runs-on: ubuntu-slim
116116
concurrency: release-${{ github.ref }}
117117
permissions:
118118
contents: write

0 commit comments

Comments
 (0)