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
12 changes: 6 additions & 6 deletions .github/workflows/Docker CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,24 +40,24 @@ jobs:
steps:
# 1. Check out the repository
- name: Checkout repository
uses: actions/checkout@v5
uses: actions/checkout@v7

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

# ------------ DockerHub -----------------------------------
# 2a. Log in to DockerHub (only on main, and only if the secrets exist)
- name: Login to DockerHub
id: login
if: github.event_name != 'pull_request' && env.HAS_DOCKERHUB == 'true'
uses: docker/login-action@v3
uses: docker/login-action@v4
with:
username: ${{ secrets.DOCKER_USERNAME }} # set it in Settings > Secrets
password: ${{ secrets.DOCKER_PASSWORD }} # set it in Settings > Secrets (token recommended)

# 2b. Always build, push only when the login step actually ran
- name: Build and push Docker image to DockerHub
uses: docker/build-push-action@v6
uses: docker/build-push-action@v7
with:
context: . # Build from the repository root (where the Dockerfile is)
file: ./Dockerfile
Expand All @@ -71,7 +71,7 @@ jobs:
# # ------------ GitHub Container Registry (GHCR) -------------
# # 3a. Log in to GHCR (GitHub Container Registry)
# - name: Login to GitHub Container Registry
# uses: docker/login-action@v3
# uses: docker/login-action@v4
# with:
# registry: ghcr.io
# username: ${{ github.actor }} # GitHub username
Expand All @@ -80,7 +80,7 @@ jobs:
#
# # 3b. Build and push to GHCR (GitHub Container Registry)
# - name: Build and push Docker image to GHCR
# uses: docker/build-push-action@v6
# uses: docker/build-push-action@v7
# with:
# context: .
# file: ./Dockerfile
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v5
uses: actions/checkout@v7

- name: Initialize CodeQL
uses: github/codeql-action/init@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/python-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ jobs:
python-version: [ '3.12', '3.13' ]

steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v7

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
uses: actions/setup-python@v7
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rust-clippy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v5
uses: actions/checkout@v7

# actions-rs/toolchain has been unmaintained since 2022: replaced by dtolnay/rust-toolchain
- name: Install Rust toolchain
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v5
uses: actions/checkout@v7

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
uses: actions/checkout@v7
- name: Setup Pages
uses: actions/configure-pages@v5
uses: actions/configure-pages@v6
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
uses: actions/upload-pages-artifact@v5
with:
# Upload entire repository
path: '.'
Expand Down
Loading