diff options
| author | Egor Tensin <egor@tensin.name> | 2025-12-16 15:13:37 +0100 |
|---|---|---|
| committer | Egor Tensin <egor@tensin.name> | 2025-12-16 15:13:37 +0100 |
| commit | e7ae252e2cc58a44bace3e161a933064e4e09c27 (patch) | |
| tree | ebd774a041fb4d62370c61d3d85d464d843d96f1 /.github/workflows/ci.yml | |
| parent | test: modernize Compose usage (diff) | |
| download | cgitize-e7ae252e2cc58a44bace3e161a933064e4e09c27.tar.gz cgitize-e7ae252e2cc58a44bace3e161a933064e4e09c27.zip | |
workflows/ci: upgrade actions & Python versions
Diffstat (limited to '')
| -rw-r--r-- | .github/workflows/ci.yml | 24 |
1 files changed, 12 insertions, 12 deletions
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 |
