Skip to content
This repository was archived by the owner on Jul 3, 2024. It is now read-only.

Commit 25237d7

Browse files
author
Mouwrice
committed
Merge branch 'main' of github.com:Mouwrice/DrumPy
2 parents ad0e3ca + d45f073 commit 25237d7

File tree

7 files changed

+227
-220
lines changed

7 files changed

+227
-220
lines changed

.gitattributes

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* text=lf

.github/workflows/nuitka.yml

+16-17
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
name: Build & Publish Binaries
22

33
on:
4-
release:
5-
types: [published]
4+
push:
5+
branches:
6+
- main
67

78

89
jobs:
@@ -20,27 +21,25 @@ jobs:
2021
- name: Setup Python
2122
uses: actions/setup-python@v5
2223
with:
23-
python-version: '3.11' # Version range or exact version of a Python version to use, using SemVer's version range syntax
24+
python-version: '3.11'
2425

25-
- name: Install poetry
26-
uses: abatilo/actions-poetry@v3
27-
- name: Setup a local virtual environment (if no poetry.toml file)
28-
run: |
29-
poetry config virtualenvs.create true --local
30-
poetry config virtualenvs.in-project true --local
31-
- uses: actions/cache@v4
32-
name: Define a cache for the virtual environment based on the dependencies lock file
26+
- name: Setup Python
27+
uses: actions/setup-python@v4
3328
with:
34-
path: ./.venv
35-
key: venv-${{ hashFiles('poetry.lock') }}
36-
- name: Install the project dependencies
37-
run: poetry install
29+
python-version: '3.11'
30+
cache: 'pip'
31+
cache-dependency-path: |
32+
**/requirements*.txt
33+
34+
- name: Install Dependencies
35+
run: |
36+
pip install -r requirements.txt
3837
3938
- name: Build Executable
40-
uses: Nuitka/Nuitka-Action@main
39+
uses: Nuitka/Nuitka-Action@v1.1
4140
with:
4241
nuitka-version: main
43-
script-name: ./drumpy/app/main.py
42+
script-name: ./drumpy/cli.py
4443
onefile: true
4544

4645
- name: Upload Artifacts

.github/workflows/ruff.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
name: Ruff
1010

1111
steps:
12-
- uses: actions/[email protected].1
12+
- uses: actions/[email protected].3
1313
- uses: ITProKyle/[email protected]
1414
with:
1515
python-version: 3.11

0 commit comments

Comments
 (0)