From 275ee94da8e2e2e4bf796be419b308651d4749d1 Mon Sep 17 00:00:00 2001 From: Andres Rios Tascon Date: Tue, 5 Mar 2024 15:44:00 -0500 Subject: [PATCH 1/3] chore: updated actions to the latest version --- .github/workflows/ci.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1f30a82..7d444fc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,16 +14,17 @@ jobs: fail-fast: false matrix: python-version: - - '3.7' - '3.8' - '3.9' - '3.10' + - '3.11' + - '3.12' name: Check Python ${{ matrix.python-version }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: fetch-depth: 0 - - uses: actions/setup-python@v2 + - uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} @@ -46,16 +47,15 @@ jobs: run: python -m pytest ./tests --cov=src/skhep_testdata --cov-report=xml - name: Test coverage with Codecov - if: matrix.python-version != 3.7 - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 dist: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: fetch-depth: 0 - - uses: actions/setup-python@v2 + - uses: actions/setup-python@v5 with: python-version: '3.10' @@ -65,12 +65,12 @@ jobs: - name: Show sizes run: ls -lh dist - - uses: actions/upload-artifact@v1 + - uses: actions/upload-artifact@v4 with: name: DistPackage path: dist - - uses: pypa/gh-action-pypi-publish@v1.4.2 + - uses: pypa/gh-action-pypi-publish@release/v1 with: user: __token__ password: ${{ secrets.pypi_password }} From cfa2d55c189d7a4eb1455308a4e0fd9f68e2f11b Mon Sep 17 00:00:00 2001 From: Andres Rios Tascon Date: Tue, 5 Mar 2024 15:44:21 -0500 Subject: [PATCH 2/3] chore: added dependabot.yml --- .github/dependabot.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..d15c975 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,10 @@ +version: 2 +updates: + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" + groups: + actions: + patterns: + - "*" From d9f18f5dd64e48670cc7452be3853e333e78e765 Mon Sep 17 00:00:00 2001 From: Andres Rios Tascon Date: Tue, 5 Mar 2024 16:23:30 -0500 Subject: [PATCH 3/3] ci: only test minimum and maximum python versions --- .github/workflows/ci.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7d444fc..9e35099 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,9 +15,6 @@ jobs: matrix: python-version: - '3.8' - - '3.9' - - '3.10' - - '3.11' - '3.12' name: Check Python ${{ matrix.python-version }} steps: