Skip to content

Commit

Permalink
Update workflows to checkout submodules
Browse files Browse the repository at this point in the history
Signed-off-by: guillemdb <[email protected]>
  • Loading branch information
guillemdb committed Nov 9, 2024
1 parent 855a1eb commit f3405a0
Show file tree
Hide file tree
Showing 4 changed files with 113 additions and 2 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ jobs:
steps:
- name: actions/checkout
uses: actions/checkout@v4
with:
submodules: true
persist-credentials: false
fetch-depth: 100
- name: Setup Rye
id: setup-rye
uses: eifinger/setup-rye@v4
Expand All @@ -52,6 +56,8 @@ jobs:

steps:
- uses: actions/checkout@v4
with:
submodules: true

- name: Setup Rye
id: setup-rye
Expand Down Expand Up @@ -118,6 +124,7 @@ jobs:
- name: actions/checkout
uses: actions/checkout@v4
with:
submodules: true
persist-credentials: false
fetch-depth: 100
- name: Set Git user
Expand Down Expand Up @@ -181,6 +188,7 @@ jobs:
- name: actions/checkout
uses: actions/checkout@v4
with:
submodules: true
persist-credentials: false
fetch-depth: 100
- name: current_version
Expand Down Expand Up @@ -212,6 +220,8 @@ jobs:
steps:
- name: actions/checkout
uses: actions/checkout@v4
with:
submodules: true
- name: Setup Rye
id: setup-rye
uses: eifinger/setup-rye@v4
Expand Down
101 changes: 101 additions & 0 deletions config/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
full_name: Guillem Duran Ballester
email: [email protected]
website: fragile.tech
project_name: Novelai
project_slug: "{{ cookiecutter.project_name.lower().replace(' ', '-') }}"
repo_name: "{{ cookiecutter.project_name|lower|replace(' ','-') }}"
repo_main_branch: main
repo_hosting:
- github.com
- gitlab.com
- other domain not listed
repo_hosting_domain: "{{ cookiecutter.repo_hosting if cookiecutter.repo_hosting != 'other domain not listed' else '' }}"
repo_username: FragileTech
repo_url: "https://{{ cookiecutter.repo_hosting_domain }}/{{ cookiecutter.repo_username }}/{{ cookiecutter.repo_name }}"
package_name: "{{ cookiecutter.project_name|lower|replace(' ','_')|replace('-','_') }}"
distribution_name: "{{ cookiecutter.package_name|replace('_','-') }}"
module_name: core
function_name: compute
project_short_description: Automatic generation of book series with LLMs
release_date: today
year_from: "{% now 'utc', '%Y' %}"
year_to: "{% now 'utc', '%Y' %}"
target_python_version:
- 3.10
- 3.8
- 3.9
- 3.11
- 3.12
lock_file_support: false
version: 0.0.0
license:
- MIT license
- BSD 2-Clause License
- BSD 3-Clause License
- ISC license
- Apache Software License 2.0
- GNU Lesser General Public License v3 or later (LGPLv3+)
- GNU Lesser General Public License v3 (LGPLv3)
- GNU Lesser General Public License v2.1 or later (LGPLv2+)
- GNU Lesser General Public License v2.1 (LGPLv2)
- no
pypi_badge:
- yes
- no
pypi_disable_upload:
- no
- yes
pre_commit:
- yes
- no
formatter_quote_style:
- double
- single
line_length: 99
docstring_code_line_length: 99
command_line_interface:
- click
- plain
- argparse
- no
command_line_interface_bin_name: "{{ cookiecutter.distribution_name }}"
codecov:
- yes
- no
sphinx_docs:
- yes
- no
sphinx_docs_hosting: "https://{{ cookiecutter.repo_name|replace('.', '') }}.readthedocs.io/"
github_actions:
- yes
- no
github_actions_osx:
- yes
- no
github_actions_windows:
- yes
- no
__pypi_badge_options:
yes: true
no: false
__pypi_disable_upload_options:
yes: true
no: false
__codecov_options:
yes: true
no: false
__sphinx_docs_options:
yes: true
no: false
__github_actions_options:
yes: true
no: false
__github_actions_osx_options:
yes: true
no: false
__github_actions_windows_options:
yes: true
no: false
_extensions:
- pylibrary.JsonQuoteExtension
- jinja2_time.TimeExtension
2 changes: 1 addition & 1 deletion mloq-template
Submodule mloq-template updated from faff5d to 38dcee
2 changes: 1 addition & 1 deletion templates/mlops
Submodule mlops updated from 063686 to 52c1a6

0 comments on commit f3405a0

Please sign in to comment.