diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index c7454ac4..d3ae80c0 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -17,7 +17,7 @@ jobs: steps: - name: Cancel Outdated Runs - uses: styfle/cancel-workflow-action@0.12.0 + uses: styfle/cancel-workflow-action@0.12.1 with: access_token: ${{ github.token }} - uses: actions/checkout@v4 @@ -25,7 +25,7 @@ jobs: uses: actions/setup-python@v5 with: python-version: '3.11' - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ~/.cache/pip key: ${{ runner.os }}-pip3-${{ hashFiles('*requirements.txt') }} diff --git a/.github/workflows/pre-commit-autoupdate.yml b/.github/workflows/pre-commit-autoupdate.yml index 477b145c..9ad718ae 100644 --- a/.github/workflows/pre-commit-autoupdate.yml +++ b/.github/workflows/pre-commit-autoupdate.yml @@ -19,7 +19,7 @@ jobs: python-version: '3.10' - name: Use Pip cache if available - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.cache/pip key: ${{ runner.os }}-pip3-${{ hashFiles('*requirements.txt') }} @@ -34,7 +34,7 @@ jobs: uses: browniebroke/pre-commit-autoupdate-action@main - name: Create Pull request with pre-commit updates - uses: peter-evans/create-pull-request@v5 + uses: peter-evans/create-pull-request@v6 with: token: ${{ secrets.GITHUB_TOKEN }} branch: update/pre-commit-hooks diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e70b95bf..d4143a80 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -20,7 +20,7 @@ jobs: steps: - name: Cancel Outdated Runs - uses: styfle/cancel-workflow-action@0.12.0 + uses: styfle/cancel-workflow-action@0.12.1 with: access_token: ${{ github.token }} - uses: actions/checkout@v4 @@ -28,7 +28,7 @@ jobs: uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ~/.cache/pip key: ${{ runner.os }}-pip3-${{ hashFiles('*requirements.txt') }} @@ -50,7 +50,7 @@ jobs: uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ~/.cache/pip key: ${{ runner.os }}-pip3-${{ hashFiles('*requirements.txt') }} diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6cd2b0be..075d3a32 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -22,13 +22,13 @@ repos: - "--filter-files" - repo: https://github.com/psf/black # Code style formatting - rev: 23.12.0 + rev: 24.2.0 hooks: - id: black exclude: (.*/)*snapshots/ - repo: https://github.com/PyCQA/flake8 # Checks the code for PEP8 violations and common pitfals - rev: 6.1.0 + rev: 7.0.0 hooks: - id: flake8 exclude: (.*/)*snapshots/ diff --git a/dev-requirements.txt b/dev-requirements.txt index 336b4429..23c30aa0 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -1,10 +1,10 @@ -black==23.11.0 +black==24.2.0 docformatter==1.7.5 filelock==3.13.1 -flake8==6.1.0 -isort==5.13.0 -pytest==7.4.3 +isort==5.13.2 +flake8==7.0.0 +pytest==8.0.1 pytest-xdist==3.5.0 -pytype==2023.12.8 +pytype==2024.2.13 snapshottest==0.6.0 ruff==0.1.13 \ No newline at end of file