From dadbad70d58d674484cd39d3a85130a4863e7601 Mon Sep 17 00:00:00 2001 From: Michal Franczel Date: Tue, 7 Oct 2025 11:47:43 +0200 Subject: [PATCH 1/2] fix: bump gha versions --- .github/workflows/release.yml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c02c5c37..62a875c9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,33 +5,32 @@ on: types: - created - jobs: build: name: Linux Py${{ matrix.PYTHON_VERSION }} runs-on: ubuntu-latest env: - CI: 'true' - OS: 'linux' + CI: "true" + OS: "linux" PYTHON_VERSION: ${{ matrix.PYTHON_VERSION }} strategy: fail-fast: false matrix: - PYTHON_VERSION: ['3.8'] + PYTHON_VERSION: ["3.8"] timeout-minutes: 10 steps: - - uses: actions/cache@v1 + - uses: actions/cache@v4 with: path: ~/.cache/pip key: ${{ runner.os }}-${{ matrix.PYTHON_VERSION }}-pip-${{ hashFiles('setup.py') }} restore-keys: ${{ runner.os }}-${{ matrix.PYTHON_VERSION }}-pip- - - 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 }} - architecture: 'x64' + architecture: "x64" - run: python -m pip install --upgrade pip setuptools wheel twine - name: Build and publish python-language-server env: From e86931369977f76f6ad73cdd9dfabd86144bed61 Mon Sep 17 00:00:00 2001 From: Michal Franczel Date: Tue, 7 Oct 2025 16:41:59 +0200 Subject: [PATCH 2/2] fix: release permissions --- .github/workflows/release.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 62a875c9..739ebff7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,6 +18,10 @@ jobs: matrix: PYTHON_VERSION: ["3.8"] timeout-minutes: 10 + permissions: + contents: read + actions: write + id-token: write steps: - uses: actions/cache@v4 with: