fix: Replace heredoc with printf in workflow YAML
Some checks failed
BotServer CI / build (push) Failing after 8s
Some checks failed
BotServer CI / build (push) Failing after 8s
This commit is contained in:
parent
1fb1e06bdb
commit
7f36f47339
1 changed files with 1 additions and 18 deletions
|
|
@ -37,24 +37,7 @@ jobs:
|
||||||
git clone --depth 1 --branch main https://alm.pragmatismo.com.br/GeneralBots/BotServer.git botserver
|
git clone --depth 1 --branch main https://alm.pragmatismo.com.br/GeneralBots/BotServer.git botserver
|
||||||
fi
|
fi
|
||||||
# Write minimal Cargo.toml workspace
|
# Write minimal Cargo.toml workspace
|
||||||
cat > Cargo.toml << 'EOF'
|
printf '[workspace]\nmembers = ["botlib", "botserver"]\nresolver = "2"\n\n[workspace.lints.rust]\nunsafe_code = "forbid"\n\n[workspace.lints.clippy]\nall = "warn"\n\n[profile.release]\nopt-level = "z"\nlto = true\ncodegen-units = 1\nstrip = true\npanic = "abort"\n' > Cargo.toml
|
||||||
[workspace]
|
|
||||||
members = ["botlib", "botserver"]
|
|
||||||
resolver = "2"
|
|
||||||
|
|
||||||
[workspace.lints.rust]
|
|
||||||
unsafe_code = "forbid"
|
|
||||||
|
|
||||||
[workspace.lints.clippy]
|
|
||||||
all = "warn"
|
|
||||||
|
|
||||||
[profile.release]
|
|
||||||
opt-level = "z"
|
|
||||||
lto = true
|
|
||||||
codegen-units = 1
|
|
||||||
strip = true
|
|
||||||
panic = "abort"
|
|
||||||
EOF
|
|
||||||
|
|
||||||
- name: Install system dependencies
|
- name: Install system dependencies
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue