Skip to content

Commit 479c300

Browse files
committed
fix: ci and workdir
1 parent 2b35cd5 commit 479c300

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

skeleton/.github/workflows/ci.yml.jinja

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ jobs:
1818
uses: extractions/setup-just@v3
1919
{%- if docker %}
2020

21-
- name: run linters and tests
22-
run: just dc _ci
21+
- name: "Run linters and tests"
22+
run: just dc all
2323
{%- else %}
2424

2525
- name: "Set up Python"

skeleton/{% if docker %}Dockerfile{% endif %}.jinja

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.12-slim-bullseye
1+
FROM python:3.13-slim-bullseye
22

33
# Install compilation dependencies
44
RUN apt update && apt install -y \
@@ -43,7 +43,7 @@ RUN --mount=type=cache,target=/root/.cache/uv \
4343

4444
# Adds our application code to the image
4545
COPY . /code
46-
WORKDIR /code/src
46+
WORKDIR /code/{{ project_name_snake_case }}
4747

4848
# Sync the project
4949
RUN --mount=type=cache,target=/root/.cache/uv \

skeleton/{% if docker %}docker-entrypoint.sh{% endif %}.jinja

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ function log() {
1414

1515
if [[ $1 =~ ^(/bin/)?(ba)?sh$ ]]; then
1616
log INFO "First CMD argument is a shell: $1"
17-
log INFO "Running: exec ${@@Q}"
17+
log INFO "Running: exec " "${@@Q}"
1818
exec "$@"
1919
elif [[ "$*" =~ ([;<>]|\(|\)|\&\&|\|\|) ]]; then
2020
log INFO "Shell metacharacters detected, passing CMD to bash"
@@ -27,5 +27,5 @@ fi
2727
# Use dumb-init to ensure proper handling of signals, zombies, etc.
2828
# See https://github.com/Yelp/dumb-init
2929

30-
log INFO "Running command: dumb-init ${@@Q}"
30+
log INFO "Running command: dumb-init " "${@@Q}"
3131
exec dumb-init "$@"

0 commit comments

Comments
 (0)