Skip to content

Commit

Permalink
更新 update_hosts.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sinspired authored Dec 7, 2024
1 parent 233f577 commit 6a3350e
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/update_hosts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,16 +39,12 @@ jobs:
run: |
python -m pip install --upgrade pip
sudo pip install -r requirements.txt
- name: Install pycodestyle
run: pip install pycodestyle
- name: Run pycodestyle
id: pycodestyle
run: |
git diff --name-only ${{ github.event.before }} ${{ github.sha }} | grep '\.py$' | xargs pycodestyle --statistics > pep8_issues.txt || true
- name: Read pycodestyle output
id: read_pep8_issues
run: echo "::set-output name=pep8_issues::$(cat pep8_issues.txt)"
- name: black-format
uses: datadog/[email protected]
with:
check_mode: "true"


- name: Run hosts update script1
run: |
Expand Down

0 comments on commit 6a3350e

Please sign in to comment.