Skip to content

Commit c260cce

Browse files
authored
Refine the GitHub workflows (#269)
Signed-off-by: tdruez <[email protected]>
1 parent 1f6db43 commit c260cce

File tree

4 files changed

+9
-11
lines changed

4 files changed

+9
-11
lines changed

.github/workflows/gh-release.yml renamed to .github/workflows/create-github-release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,11 @@ on:
88

99
jobs:
1010
create-github-release:
11-
runs-on: ubuntu-22.04
11+
runs-on: ubuntu-24.04
1212

1313
steps:
1414
- name: Create a GitHub release
15-
uses: softprops/action-gh-release@v1
15+
uses: softprops/action-gh-release@v2
1616
with:
17+
generate_release_notes: true
1718
draft: false

.github/workflows/publish-docker.yml renamed to .github/workflows/publish-docker-image.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Publish Docker image on GHCR
1+
name: Publish Docker image on GitHub Container Registry
22
# https://docs.github.com/en/packages/managing-github-packages-using-github-actions-workflows/publishing-and-installing-a-package-with-github-actions
33

44
on:
@@ -16,7 +16,7 @@ env:
1616

1717
jobs:
1818
build-and-push-image:
19-
runs-on: ubuntu-22.04
19+
runs-on: ubuntu-24.04
2020

2121
# Sets the permissions granted to the `GITHUB_TOKEN` for the actions in this job.
2222
permissions:

.github/workflows/ci-docker.yml renamed to .github/workflows/run-unit-tests-docker.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Test on Docker CI
1+
name: Run unit tests on Docker container
22

33
on:
44
push:
@@ -8,7 +8,7 @@ on:
88

99
jobs:
1010
test:
11-
runs-on: ubuntu-22.04
11+
runs-on: ubuntu-24.04
1212

1313
steps:
1414
- name: Checkout code
Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Test CI
1+
name: Run unit tests
22

33
on:
44
push:
@@ -14,7 +14,7 @@ env:
1414

1515
jobs:
1616
test:
17-
runs-on: ubuntu-22.04
17+
runs-on: ubuntu-24.04
1818

1919
services:
2020
postgres:
@@ -55,9 +55,6 @@ jobs:
5555
- name: Start Redis
5656
uses: supercharge/[email protected]
5757

58-
# - name: Check Django deployment settings
59-
# run: make check-deploy
60-
6158
- name: Build the documentation
6259
run: make docs
6360

0 commit comments

Comments
 (0)