Skip to content

Commit fd05e18

Browse files
authored
feat: support jobs without rights field
* Support jobs without `rights` field * Pin Python 3.12.3 to avoid forward ref error in Pydantic.
1 parent 74dcde2 commit fd05e18

File tree

4 files changed

+102
-226
lines changed

4 files changed

+102
-226
lines changed

.github/workflows/ci.yml

+8-4
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,16 @@ jobs:
1212
commitlint:
1313
runs-on: ubuntu-22.04
1414
steps:
15-
- uses: actions/checkout@v4
15+
- name: Checkout
16+
uses: actions/checkout@v4
1617
with:
1718
fetch-depth: 0
1819
- uses: wagoid/commitlint-github-action@v4
1920
test:
2021
runs-on: ubuntu-22.04
2122
steps:
22-
- uses: actions/checkout@v4
23+
- name: Checkout
24+
uses: actions/checkout@v4
2325
- name: Setup Docker
2426
uses: docker/setup-buildx-action@v3
2527
- name: Build
@@ -38,8 +40,10 @@ jobs:
3840
needs: [commitlint, test]
3941
if: github.event_name == 'push'
4042
steps:
41-
- uses: actions/checkout@v4
42-
- uses: actions/setup-node@v4
43+
- name: Checkout
44+
uses: actions/checkout@v4
45+
- name: Setup Node.js
46+
uses: actions/setup-node@v4
4347
with:
4448
node-version: 20
4549
- name: Install semantic-release

Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ RUN wget https://github.com/BenLangmead/bowtie2/releases/download/v2.3.2/bowtie2
1414
mkdir bowtie2 && \
1515
cp bowtie2-2.3.2-legacy/bowtie2* bowtie2
1616

17-
FROM python:3.12-bookworm as build
17+
FROM python:3.12.3-bookworm as build
1818
WORKDIR /workflow
1919
RUN curl -sSL https://install.python-poetry.org | python -
2020
ENV PATH="/root/.local/bin:${PATH}" \
@@ -25,7 +25,7 @@ ENV PATH="/root/.local/bin:${PATH}" \
2525
COPY pyproject.toml poetry.lock ./
2626
RUN poetry install --without dev --no-root
2727

28-
FROM python:3.12-bookworm as base
28+
FROM python:3.12.3-bookworm as base
2929
WORKDIR /workflow
3030
ENV VIRTUAL_ENV=/app/.venv \
3131
PATH="/workflow/.venv/bin:/opt/fastqc:${PATH}"

0 commit comments

Comments
 (0)