Skip to content

Commit 0880b7d

Browse files
committed
fix: change runner from ubuntu-latest to ubuntu-slim in workflow configurations
1 parent 5c22fde commit 0880b7d

3 files changed

Lines changed: 9 additions & 6 deletions

File tree

.github/workflows/case.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ on:
1616
- "package.json"
1717
jobs:
1818
build:
19-
runs-on: ubuntu-latest
19+
runs-on: ubuntu-slim
2020
steps:
2121
- uses: actions/checkout@v5
2222

.github/workflows/keymap.yml

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

1818
jobs:
1919
draw-keymaps:
20-
runs-on: ubuntu-latest
20+
runs-on: ubuntu-slim
2121
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'workflow_dispatch' || github.event_name == 'push' }}
2222
steps:
2323
- uses: actions/checkout@v4

.github/workflows/kibot.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,18 @@ on:
2121
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
2222
jobs:
2323
KIBOT:
24-
runs-on: ubuntu-latest
24+
runs-on: ubuntu-slim
2525
steps:
26-
- uses: actions/checkout@v4
27-
- uses: astral-sh/setup-uv@v3
2826
- run: | # use https://nickcoutsos.github.io/keymap-layout-tools/ to generate info.json
27+
echo "set man-db/auto-update false" | sudo debconf-communicate
28+
sudo dpkg-reconfigure man-db
2929
sudo apt update
3030
sudo apt install -y kicad
3131
touch board/output/pcbs/sessile.kicad_sch
3232
echo '(kicad_sch (version 20230121))' > board/output/pcbs/sessile.kicad_sch
33+
- uses: actions/checkout@v4
34+
- uses: astral-sh/setup-uv@v3
35+
- run: | # use https://nickcoutsos.github.io/keymap-layout-tools/ to generate info.json
3336
uv run kibot \
3437
-c board/sessile.kibot.yaml \
3538
-d board/output/pcbs \
@@ -42,7 +45,7 @@ jobs:
4245
path: board/output/pcbs/jlcpcb.zip
4346

4447
release:
45-
runs-on: ubuntu-latest
48+
runs-on: ubuntu-slim
4649
if: startsWith(github.ref, 'refs/tags/')
4750
permissions:
4851
contents: write

0 commit comments

Comments
 (0)