Skip to content

Commit 69bc42a

Browse files
committed
chore: update code to use virtool
1 parent c588fc4 commit 69bc42a

File tree

6 files changed

+57
-2582
lines changed

6 files changed

+57
-2582
lines changed

.github/workflows/ci.yaml

Lines changed: 38 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
workflow_dispatch:
1212

1313
env:
14-
NODE_VERIONS: 22
14+
NODE_VERION: 22
1515
REGISTRY: ghcr.io
1616

1717
jobs:
@@ -43,6 +43,42 @@ jobs:
4343
cache-from: type=gha
4444
cache-to: type=gha,mode=max
4545
tags: workflow-create-subtraction:base
46+
ruff-format:
47+
name: Ruff / Format
48+
runs-on: ubuntu-latest
49+
steps:
50+
- name: Checkout
51+
uses: actions/checkout@v4
52+
- name: Install mise
53+
uses: jdx/mise-action@v2
54+
- name: Install uv
55+
uses: astral-sh/setup-uv@v4
56+
with:
57+
version: "latest"
58+
- name: Set up Python
59+
run: uv python install
60+
- name: Install dependencies
61+
run: uv sync
62+
- name: Check formatting
63+
run: uv run ruff format --check .
64+
ruff-format:
65+
name: Ruff / Format
66+
runs-on: ubuntu-latest
67+
steps:
68+
- name: Checkout
69+
uses: actions/checkout@v4
70+
- name: Install mise
71+
uses: jdx/mise-action@v2
72+
- name: Install uv
73+
uses: astral-sh/setup-uv@v4
74+
with:
75+
version: "latest"
76+
- name: Set up Python
77+
run: uv python install
78+
- name: Install dependencies
79+
run: uv sync
80+
- name: Check formatting
81+
run: uv run ruff check .
4682
test:
4783
name: "Test"
4884
runs-on: ubuntu-latest
@@ -107,4 +143,4 @@ jobs:
107143
labels: ${{ steps.meta.outputs.labels }}
108144
push: true
109145
tags: ${{ steps.meta.outputs.tags }}
110-
target: "base"
146+
target: "base"

0 commit comments

Comments
 (0)