Skip to content

Commit

Permalink
fix towncrier CI (#286)
Browse files Browse the repository at this point in the history
  • Loading branch information
t4lz authored Oct 1, 2024
1 parent 3f01978 commit 806bb12
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 11 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,22 @@ concurrency:

jobs:
towncrier_check:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install uv
uses: astral-sh/setup-uv@v2
- run: uv python install
- run: uv venv
- name: install towncrier
run: pip install towncrier==23.11.0
run: uv pip install towncrier==23.11.0
- name: verify newsfragment exist
run: towncrier check
run: uv run towncrier check

lint_markdown:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: avto-dev/markdown-lint@v1
Expand All @@ -36,7 +40,7 @@ jobs:
args: "README.md"

lint:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Setup Java
Expand All @@ -61,7 +65,7 @@ jobs:
lint_markdown,
lint,
]
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: CI succeeded
# We have to do it in the shell since if it's in the if condition
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/plugin_verifier.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
matrix:
ide: [ IU, IC, PY, PC, GO, RD ]
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Remove unnecessary files
run: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

jobs:
release:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
id: version
Expand Down Expand Up @@ -46,7 +46,7 @@ jobs:

release_gh:
needs: [release]
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
if: github.event_name != 'workflow_dispatch'
permissions:
packages: write
Expand All @@ -71,7 +71,7 @@ jobs:

update_latest:
needs: release_gh
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
if: github.event_name != 'workflow_dispatch'
steps:
- name: Check out code
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable_e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ on:

jobs:
intellij-e2e:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
env:
CI_BUILD_PLUGIN: "true"
steps:
Expand Down
1 change: 1 addition & 0 deletions changelog.d/+fix-towncrier.internal.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Run towncrier on CI with uv to fix fail.
1 change: 1 addition & 0 deletions changelog.d/+ubuntu-version.internal.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Run CI jobs on ubuntu-24.04.

0 comments on commit 806bb12

Please sign in to comment.