From 699ee2923c00af6fe6711153c8808989168d7d21 Mon Sep 17 00:00:00 2001 From: Sinspired <63581268+sinspired@users.noreply.github.com> Date: Sat, 7 Dec 2024 08:51:46 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20update=5Fhosts.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/update_hosts.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/update_hosts.yml b/.github/workflows/update_hosts.yml index 5117c56..98615be 100644 --- a/.github/workflows/update_hosts.yml +++ b/.github/workflows/update_hosts.yml @@ -40,6 +40,11 @@ jobs: python -m pip install --upgrade pip sudo pip install -r requirements.txt + pip install black + - name: Check code format + run: | + black --check . + - name: Run hosts update script1 run: | sudo python3 setHosts.py