From 7f2b698a6dfbe2534dbfea6b139dafac5b0a27e8 Mon Sep 17 00:00:00 2001 From: Tommy Waltmann Date: Fri, 1 Mar 2024 14:09:12 -0500 Subject: [PATCH] update actions and pre-commit tools too --- .github/workflows/test.yml | 6 +++--- .pre-commit-config.yaml | 12 ++++++------ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e6572fa..0dbba9d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -31,7 +31,7 @@ jobs: python-version: ["3.9", "3.10"] runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4.0.0 with: path: freud-examples # Important! All steps that use the conda environment should define "shell: bash -l {0}". @@ -52,7 +52,7 @@ jobs: # Install testing requirements mamba install pytest nbval # Build freud from source to test the examples on the latest version - - uses: actions/checkout@v3 + - uses: actions/checkout@v4.0.0 with: path: freud ref: main @@ -81,7 +81,7 @@ jobs: # notify developers if the scheduled check fails - name: Slack notification if: ${{ github.event_name == 'schedule' && (failure() || cancelled()) }} - uses: 8398a7/action-slack@v3.15.1 + uses: 8398a7/action-slack@v3.16.2 with: status: ${{ job.status }} fields: workflow,job,message,commit diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e3a6506..3892393 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,7 +3,7 @@ ci: repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: 'v4.4.0' + rev: 'v4.5.0' hooks: - id: end-of-file-fixer exclude: 'setup.cfg' @@ -11,27 +11,27 @@ repos: exclude: 'setup.cfg' - id: debug-statements - repo: https://github.com/asottile/pyupgrade - rev: 'v3.3.1' + rev: 'v3.15.1' hooks: - id: pyupgrade args: - --py36-plus - repo: https://github.com/PyCQA/isort - rev: '5.12.0' + rev: '5.13.2' hooks: - id: isort - repo: https://github.com/psf/black - rev: '23.3.0' + rev: '24.2.0' hooks: - id: black - repo: https://github.com/PyCQA/flake8 - rev: '6.0.0' + rev: '7.0.0' hooks: - id: flake8 args: - --max-line-length=100 - repo: https://github.com/nbQA-dev/nbQA - rev: 1.7.0 + rev: 1.7.1 hooks: - id: nbqa-pyupgrade args: