Fix 'aiken new' workflow template
This commit is contained in:
parent
4645fd3e28
commit
b8bb480bff
|
@ -176,10 +176,10 @@ fn create_github_action(root: &Path) -> miette::Result<()> {
|
||||||
fs::create_dir_all(&workflows).into_diagnostic()?;
|
fs::create_dir_all(&workflows).into_diagnostic()?;
|
||||||
|
|
||||||
fs::write(
|
fs::write(
|
||||||
workflows.join("tests.yml"),
|
workflows.join("continuous-integration.yml"),
|
||||||
formatdoc! {
|
formatdoc! {
|
||||||
r#"
|
r#"
|
||||||
name: Tests
|
name: Continuous Integration
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
@ -191,11 +191,9 @@ fn create_github_action(root: &Path) -> miette::Result<()> {
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
- uses: aiken-lang/setup-aiken@v1
|
||||||
- uses: aiken-lang/setup-aiken@v0.1.0
|
|
||||||
with:
|
with:
|
||||||
version: {version}
|
version: {version}
|
||||||
|
|
||||||
- run: aiken fmt --check
|
- run: aiken fmt --check
|
||||||
- run: aiken check -D
|
- run: aiken check -D
|
||||||
- run: aiken build
|
- run: aiken build
|
||||||
|
|
Loading…
Reference in New Issue