Skip to content
Merged
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
16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ jobs:
name: Backend (pytest)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Point CI at published action majors

On every push or pull request, all three jobs now begin with actions/checkout@v7, but that major ref is not published, so GitHub Actions cannot resolve the action and each job stops before checking out the repository. The other newly selected CI majors (setup-python@v7, setup-node@v7, setup-buildx-action@v4, and build-push-action@v7) likewise need to be replaced with actual published stable tags.

Useful? React with 👍 / 👎.


- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@v7
with:
python-version: "3.11"
cache: pip
Expand All @@ -43,10 +43,10 @@ jobs:
run:
working-directory: frontend
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

- name: Set up Node
uses: actions/setup-node@v4
uses: actions/setup-node@v7
with:
node-version: "22"
cache: npm
Expand All @@ -65,13 +65,13 @@ jobs:
name: Docker images build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

- name: Set up Buildx
uses: docker/setup-buildx-action@v3
uses: docker/setup-buildx-action@v4

- name: Build backend image
uses: docker/build-push-action@v6
uses: docker/build-push-action@v7
with:
context: .
file: backend.Dockerfile
Expand All @@ -81,7 +81,7 @@ jobs:
cache-to: type=gha,mode=max

- name: Build frontend image
uses: docker/build-push-action@v6
uses: docker/build-push-action@v7
with:
context: ./frontend
file: frontend/Dockerfile
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,16 @@ jobs:
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Point the Pages workflow at published action majors

When this workflow is dispatched or triggered by a docs change, actions/checkout@v7 cannot be resolved because that major ref is not published, so deployment fails at its first step. The subsequent newly selected Pages action majors (configure-pages@v6, upload-pages-artifact@v5, and deploy-pages@v5) also need to be changed to published stable tags.

Useful? React with 👍 / 👎.


- name: Configure Pages
uses: actions/configure-pages@v5
uses: actions/configure-pages@v6

- name: Upload docs/ artifact
uses: actions/upload-pages-artifact@v3
uses: actions/upload-pages-artifact@v5
with:
path: docs

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
uses: actions/deploy-pages@v5