Repository: astro-informatics/sleplet (language: python)

Issue:
Adopt native TOML `tox` support
### Is Your Feature Request Related to a Problem? Please Describe

Following https://github.com/tox-dev/tox/pull/3353 https://github.com/ymyzk/tox-gh-actions/discussions/197, it will at some be possible to have full native TOML support

### Describe the Solution You'd Like

_No response_

### Describe Alternatives You've Considered

_No response_

### Additional Context

_No response_


Discussion / hints:

Fix patch:
diff --git a/pyproject.toml b/pyproject.toml
index 96d2056e..e53565cb 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -208,16 +208,11 @@ overrides."tool.ruff.lint.isort.section-order".inline_arrays = false
 
 [tool.tox]
 legacy_tox_ini = """
-    [gh-actions]
+    [gh]
     python =
         3.11: py311
         3.12: py312
 
-    [gh-actions:env]
-    OS =
-        ubuntu-latest: linux
-        macos-latest: macos
-
     [testenv]
     commands =
         pytest --cov --cov-report=lcov
@@ -225,5 +220,5 @@ legacy_tox_ini = """
         pytest-cov
 
     [tox]
-    env_list = py{310,311,312}-{linux,macos}
+    env_list = py{311,312}
 """


Test patch:
diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml
index 90f00510..14ad6f23 100644
--- a/.github/workflows/test.yaml
+++ b/.github/workflows/test.yaml
@@ -23,12 +23,11 @@ jobs:
           - "3.12"
     steps:
       # yamllint disable-line rule:line-length
-      - uses: paddyroddy/.github/actions/python/tox@cae02393710f18f5fbacd9545d1a38f0d661758e # v0
+      - uses: paddyroddy/.github/actions/python/tox@2e83ccde571114eea4dacae50214fd1dff839be0 # v0
         with:
           cache-path: |-
             .tox
             ~/.cache/sleplet
-          operating-system: ${{ matrix.os }}
           pyproject-toml: ./pyproject.toml
           python-version: ${{ matrix.python-version }}