Skip to content

Commit 43ab7b8

Browse files
raghavyuvazhravan
andauthored
feat : Nixopus CLI (#274)
Co-authored-by: shravan20 <mrshravankumarb@gmail.com>
1 parent 57d88f2 commit 43ab7b8

File tree

199 files changed

+18524
-3784
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

199 files changed

+18524
-3784
lines changed

.github/workflows/dev-env-setup.yml

Lines changed: 0 additions & 73 deletions
This file was deleted.

.github/workflows/format.yaml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88
paths:
99
- 'api/**'
1010
- 'view/**'
11+
- 'cli/**'
1112
workflow_dispatch:
1213

1314
permissions:
@@ -92,4 +93,48 @@ jobs:
9293
skip_dirty_check: false
9394
skip_fetch: true
9495
skip_checkout: true
96+
disable_globbing: false
97+
98+
format-cli:
99+
name: Format CLI
100+
runs-on: ubuntu-latest
101+
steps:
102+
- uses: actions/checkout@v4
103+
with:
104+
ref: ${{ github.head_ref }}
105+
token: ${{ secrets.GITHUB_TOKEN }}
106+
107+
- uses: actions/setup-python@v5
108+
with:
109+
python-version: '3.11'
110+
cache: 'pip'
111+
112+
- name: Install Poetry
113+
uses: snok/install-poetry@v1
114+
with:
115+
version: latest
116+
virtualenvs-create: true
117+
virtualenvs-in-project: true
118+
119+
- name: Install dependencies
120+
working-directory: cli
121+
run: poetry install --with dev --quiet
122+
123+
- name: Run formatting
124+
working-directory: cli
125+
run: make format
126+
127+
- name: Commit CLI changes
128+
id: cli-commit
129+
if: github.event_name == 'pull_request'
130+
uses: stefanzweifel/git-auto-commit-action@v5
131+
with:
132+
commit_message: 'style(cli): format Python code'
133+
branch: ${{ github.head_ref }}
134+
file_pattern: 'cli/**/*.py'
135+
commit_user_name: 'github-actions[bot]'
136+
commit_user_email: 'github-actions[bot]@users.noreply.github.com'
137+
skip_dirty_check: false
138+
skip_fetch: true
139+
skip_checkout: true
95140
disable_globbing: false

.github/workflows/greetings.yaml

Lines changed: 0 additions & 16 deletions
This file was deleted.

.github/workflows/qemu.yml

Lines changed: 0 additions & 166 deletions
This file was deleted.

0 commit comments

Comments
 (0)