From da2d632ff12c3d00a144f2714bdcefc22d548b6a Mon Sep 17 00:00:00 2001 From: Peter Bittner Date: Mon, 12 Feb 2024 23:51:55 +0100 Subject: [PATCH] Update project log, update GHA actions --- .github/workflows/check.yml | 4 ++-- .github/workflows/publish.yml | 4 ++-- .github/workflows/test.yml | 8 ++++---- HISTORY.rst | 1 + 4 files changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index e5e932b..f501ff7 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -24,8 +24,8 @@ jobs: - package - docs steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v4 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 with: python-version: '3.10' - name: Install prerequisites diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index e670d8c..676b59b 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -13,8 +13,8 @@ jobs: publish: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v4 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 with: python-version: '3.10' - name: Install prerequisites diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e8affed..08bb549 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -40,8 +40,8 @@ jobs: - { django-version: '5.0', python-version: '3.8' } - { django-version: '5.0', python-version: '3.9' } steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v4 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Install prerequisites @@ -55,8 +55,8 @@ jobs: env: TOXENV: behave-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v4 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 with: python-version: '3.10' - name: Install prerequisites diff --git a/HISTORY.rst b/HISTORY.rst index 3b5e4ef..d8893a1 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -6,6 +6,7 @@ Release History **Features and Improvements** +- Use ruff for linting and code style; reformat code base - Migrate packaging from ``setup.py`` to pure ``pyproject.toml``. - Add instructions to measure test coverage to the documentation - Cover Python 3.9 to 3.12 and Django 3.2, 4.x and 5.0, drop Python 3.5, 3.6 and Django 2.2 and 3.0 support