From e7ae252e2cc58a44bace3e161a933064e4e09c27 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Tue, 16 Dec 2025 15:13:37 +0100 Subject: workflows/ci: upgrade actions & Python versions --- .github/workflows/ci.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3b8a4a7..056efbb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.9', '3.10', '3.11', '3.12', '3.13'] + python-version: ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14'] name: 'Test / ${{ matrix.python-version }}' env: CGITIZE_GITHUB_USERNAME: cgitize-test @@ -23,11 +23,11 @@ jobs: CGITIZE_GITLAB_TOKEN: '${{ secrets.CGITIZE_GITLAB_TOKEN}}' steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: fetch-depth: 0 - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: '${{ matrix.python-version }}' cache: pip @@ -43,7 +43,7 @@ jobs: name: 'Test / Docker' steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Integration test (Docker) run: sudo make test/docker @@ -60,15 +60,15 @@ jobs: CGITIZE_GITLAB_TOKEN: '${{ secrets.CGITIZE_GITLAB_TOKEN}}' steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: cache: pip - name: Install dependencies run: pip install -q -r requirements.txt - name: Set up ssh-agent - uses: webfactory/ssh-agent@v0.8.0 + uses: webfactory/ssh-agent@v0.9.1 with: ssh-private-key: '${{ secrets.SSH_KEY }}' - name: Integration test (example config) @@ -87,7 +87,7 @@ jobs: if: github.event_name == 'push' && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/')) steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 # https://github.com/docker/metadata-action#semver - id: meta name: Docker Hub metadata @@ -120,7 +120,7 @@ jobs: echo 'platforms=amd64,armhf,arm64' >> "$GITHUB_OUTPUT" fi - name: Build and publish - uses: docker/build-push-action@v5 + uses: docker/build-push-action@v6 with: context: '${{ matrix.context }}' file: '${{ matrix.file }}' @@ -135,11 +135,11 @@ jobs: name: 'Publish / PyPI' steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: fetch-depth: 0 - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 - name: Verify package can be installed run: pip install -q . - name: Install package builder @@ -147,7 +147,7 @@ jobs: - name: Build package run: python -m build - name: Publish as artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 with: name: dist path: dist -- cgit v1.3