diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index a086c0d..1a95ea1 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -5,18 +5,12 @@ jobs: lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Setup python - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: 3.12 architecture: x64 - - uses: actions/cache@v1 - with: - path: ~/.cache/pip - key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements_dev.txt') }}-${{ matrix.python-version }} - restore-keys: | - ${{ runner.os }}-pip- - run: pip install --upgrade -r requirements_dev.txt - run: black --check *.py */ - run: isort --check-only *.py */ diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c430a6f..87c5313 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,9 +9,9 @@ jobs: python-version: [ '3.9', '3.10', '3.11', '3.12', '3.13'] jsonref-version: ["==0.3", ">1"] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Setup python - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} architecture: x64