53 lines
1.2 KiB
Django/Jinja
53 lines
1.2 KiB
Django/Jinja
# CI Configuration
|
|
# Generated by TypeDialog - Edit via ci-configure.sh
|
|
|
|
{
|
|
project = {
|
|
name = "{{ project_name }}",
|
|
description = "{{ project_description }}",
|
|
repository = "{{ project_repository }}",
|
|
},
|
|
|
|
ci = {
|
|
github_actions = {
|
|
enabled = {{ enable_github_actions }},
|
|
parallel_jobs = {{ parallel_jobs }},
|
|
timeout_minutes = {{ timeout_minutes }},
|
|
|
|
rust = {
|
|
version = "{{ rust_version }}",
|
|
targets = ["x86_64-unknown-linux-gnu"],
|
|
},
|
|
|
|
cache = {
|
|
enabled = {{ enable_cache }},
|
|
paths = [],
|
|
},
|
|
|
|
tools = {
|
|
clippy = {
|
|
enabled = {{ enable_clippy }},
|
|
{% if enable_clippy and clippy_args %}
|
|
args = {{ clippy_args | split(pat=" ") | json }},
|
|
{% else %}
|
|
args = [],
|
|
{% endif %}
|
|
},
|
|
rustfmt = {
|
|
enabled = {{ enable_rustfmt }},
|
|
edition = "{{ rustfmt_edition }}",
|
|
},
|
|
cargo_audit = {
|
|
enabled = {{ enable_cargo_audit }},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
|
|
deployment = {
|
|
enabled = {{ enable_deployment }},
|
|
environment = "{{ deployment_environment }}",
|
|
auto_deploy = {{ auto_deploy }},
|
|
},
|
|
}
|