Skip to content

Commit

Permalink
Add code style check and fix commands
Browse files Browse the repository at this point in the history
  • Loading branch information
nickspaargaren committed Aug 14, 2024
1 parent 45279e9 commit 0f8ac4f
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install dependencies
Expand All @@ -23,6 +23,11 @@ jobs:
runs-on: ubuntu-latest
needs: setup
steps:
- name: Use pip cache
uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}
- name: Check
run: black . --check

Expand All @@ -32,11 +37,6 @@ jobs:
needs: setup
continue-on-error: true
steps:
- uses: actions/checkout@v2
name: Python setup
- uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install pytest
run: pip install pytest
- name: Check for duplicate lines
Expand Down Expand Up @@ -65,4 +65,4 @@ jobs:
- name: Install Unbound
run: sudo apt-get update && sudo apt-get install -y unbound
- name: Check unbound list
run: unbound-checkconf unbound.conf
run: unbound-checkconf unbound.conf

0 comments on commit 0f8ac4f

Please sign in to comment.