Skip to content

Commit 417f066

Browse files
committed
fix runners
1 parent 256230d commit 417f066

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/hostname.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,25 @@ name: Check Hostname
22

33
on:
44
push:
5-
branches: [ main ]
5+
branches: [main]
66
pull_request:
7-
branches: [ main ]
7+
branches: [main]
88
workflow_dispatch:
99

1010
jobs:
1111
check-hostname:
1212
runs-on: ${{ matrix.os }}
1313
strategy:
1414
matrix:
15-
os: [ubuntu-latest, macos-latest, windows-latest]
15+
os: [ubuntu-24.04, macos-15, windows-2022]
1616

1717
steps:
18-
- uses: actions/checkout@v3
18+
- uses: actions/checkout@v3
1919

20-
- name: Set up Python
21-
uses: actions/setup-python@v4
22-
with:
23-
python-version: '3.x'
20+
- name: Set up Python
21+
uses: actions/setup-python@v4
22+
with:
23+
python-version: "3.x"
2424

25-
- name: Run hostname check script
26-
run: python check-hostname.py
25+
- name: Run hostname check script
26+
run: python check-hostname.py

0 commit comments

Comments
 (0)