Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,15 @@ jobs:
runs-on: ubuntu-22.04
if: github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'build-wheel')
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
# prefer head commit over merge commit in case of PRs
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || '' }}
- uses: actions/setup-python@v5
- uses: actions/setup-python@v6
name: Set up Python 🐍
with:
python-version: ${{ env.PYTHON_VERSION }}
- uses: actions/setup-node@v4
- uses: actions/setup-node@v6
name: Setup Node
with:
node-version: ${{ env.NODE_VERSION }}
Expand All @@ -54,7 +54,7 @@ jobs:
id: uv-cache
run: echo "dir=$(uv cache dir)" >> $GITHUB_OUTPUT
- name: Cache uv
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: ${{ steps.uv-cache.outputs.dir }}
key: uv|${{ runner.os }}|3.12|${{ hashFiles('requirements*.txt') }}
Expand All @@ -67,7 +67,7 @@ jobs:
run: npm ci
- name: Build wheel 🏗
run: ./bin/maintenance/build-wheel.py indico --add-version-suffix
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v6
name: Upload build artifacts 📦
with:
name: indico-wheel
Expand Down
36 changes: 18 additions & 18 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,21 +29,21 @@ jobs:
- { name: '3.12', python: '3.12', python_version_var: 'PYTHON_VERSION_312' }

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6

- uses: actions/cache@v4
- uses: actions/cache@v5
id: cache-npm
with:
path: node_modules
key: ${{ runner.os }}-npm-${{ hashFiles('package*.json') }}

- name: Setup Python
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: ${{ env[matrix.python_version_var] }}

- name: Setup Node
uses: actions/setup-node@v4
uses: actions/setup-node@v6
if: steps.cache-npm.outputs.cache-hit != 'true'
with:
node-version: ${{ env.NODE_VERSION }}
Expand All @@ -69,7 +69,7 @@ jobs:
run: echo "dir=$(uv cache dir)" >> $GITHUB_OUTPUT

- name: Cache uv
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: ${{ steps.uv-cache.outputs.dir }}
key: uv|${{ runner.os }}|${{ matrix.python }}|${{ hashFiles('requirements*.txt') }}
Expand All @@ -87,7 +87,7 @@ jobs:
run: tar cf /tmp/env.tar .venv node_modules

- name: Upload environment
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
name: environment-${{ matrix.name }}
retention-days: 1
Expand All @@ -99,23 +99,23 @@ jobs:
runs-on: ubuntu-22.04
steps:
# BEGIN common steps - edit all occurrences if needed!
- uses: actions/checkout@v4
- uses: actions/checkout@v6

- name: Setup Python
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: ${{ env.PYTHON_VERSION_312 }}

- name: Setup Node
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
node-version: ${{ env.NODE_VERSION }}

- name: Install uv
run: curl -LsSf https://astral.sh/uv/install.sh | sh

- name: Download environment
uses: actions/download-artifact@v4
uses: actions/download-artifact@v7
with:
name: environment-3.12
path: /tmp
Expand Down Expand Up @@ -241,23 +241,23 @@ jobs:

steps:
# BEGIN common steps - edit all occurrences if needed!
- uses: actions/checkout@v4
- uses: actions/checkout@v6

- name: Setup Python
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: ${{ env[matrix.python_version_var] }}

- name: Setup Node
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
node-version: ${{ env.NODE_VERSION }}

- name: Install uv
run: curl -LsSf https://astral.sh/uv/install.sh | sh

- name: Download environment
uses: actions/download-artifact@v4
uses: actions/download-artifact@v7
with:
name: environment-${{ matrix.name }}
path: /tmp
Expand Down Expand Up @@ -300,23 +300,23 @@ jobs:
runs-on: ubuntu-22.04
steps:
# BEGIN common steps - edit all occurrences if needed!
- uses: actions/checkout@v4
- uses: actions/checkout@v6

- name: Setup Python
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: ${{ env.PYTHON_VERSION_312 }}

- name: Setup Node
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
node-version: ${{ env.NODE_VERSION }}

- name: Install uv
run: curl -LsSf https://astral.sh/uv/install.sh | sh

- name: Download environment
uses: actions/download-artifact@v4
uses: actions/download-artifact@v7
with:
name: environment-3.12
path: /tmp
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Setup Python
if: matrix.language == 'python'
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: '3.12'

Expand All @@ -48,7 +48,7 @@ jobs:
echo "CODEQL_PYTHON=$(which python)" >> $GITHUB_ENV

- name: Initialize CodeQL
uses: github/codeql-action/init@v3
uses: github/codeql-action/init@v4
with:
languages: ${{ matrix.language }}
setup-python-dependencies: false
Expand All @@ -58,7 +58,7 @@ jobs:
# queries: ./path/to/local/query, your-org/your-repo/queries@main

- name: Autobuild
uses: github/codeql-action/autobuild@v3
uses: github/codeql-action/autobuild@v4

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
uses: github/codeql-action/analyze@v4
2 changes: 1 addition & 1 deletion .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ jobs:
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v5
- uses: actions/labeler@v6
with:
sync-labels: true
18 changes: 9 additions & 9 deletions .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ jobs:
name: Build package 📦
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: actions/checkout@v6
- uses: actions/setup-python@v6
name: Set up Python 🐍
with:
python-version: ${{ env.PYTHON_VERSION }}
Expand All @@ -37,7 +37,7 @@ jobs:
run: python .github/utils/check_version.py "${GITHUB_REF#refs/tags/v}"
- name: Extract changelog 📜
run: python .github/utils/extract_changelog.py "${GITHUB_REF#refs/tags/v}" /tmp/changelog.md
- uses: actions/setup-node@v4
- uses: actions/setup-node@v6
name: Setup Node
with:
node-version: ${{ env.NODE_VERSION }}
Expand All @@ -47,13 +47,13 @@ jobs:
run: npm ci
- name: Build wheel 🏗
run: ./bin/maintenance/build-wheel.py indico
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v6
name: Upload build artifacts 📦
with:
name: indico-wheel
retention-days: 7
path: ./dist
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v6
name: Store Markdown changelog 📜
with:
name: changelog
Expand All @@ -67,7 +67,7 @@ jobs:
permissions:
contents: write
steps:
- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v7
name: Download build artifacts 📦
- name: Create draft release 🐙
run: >-
Expand All @@ -91,16 +91,16 @@ jobs:
contents: write
id-token: write
steps:
- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v7
# Try uploading to Test PyPI first, in case something fails.
- name: Publish to Test PyPI 🧪
uses: pypa/gh-action-pypi-publish@v1.12.2
uses: pypa/gh-action-pypi-publish@v1.13.0
with:
repository-url: https://test.pypi.org/legacy/
packages-dir: indico-wheel/
attestations: false
- name: Publish to PyPI 🚀
uses: pypa/gh-action-pypi-publish@v1.12.2
uses: pypa/gh-action-pypi-publish@v1.13.0
with:
packages-dir: indico-wheel/
- name: Publish GitHub release 🐙
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/translations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@ jobs:
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: actions/checkout@v6
- uses: actions/setup-python@v6
name: Set up Python 🐍
with:
python-version: ${{ env.PYTHON_VERSION }}
cache: pip
cache-dependency-path: |
requirements.txt
requirements.dev.txt
- uses: actions/setup-node@v4
- uses: actions/setup-node@v6
name: Setup Node
with:
node-version: ${{ env.NODE_VERSION }}
Expand All @@ -50,7 +50,7 @@ jobs:
run: ./bin/maintenance/update_moment_locales.py
- name: Build wheel 🏗
run: ./bin/maintenance/build-wheel.py indico --add-version-suffix --ignore-unclean
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v6
name: Upload build artifacts 📦
with:
name: indico-translation-wheel
Expand Down