diff --git a/.editorconfig b/.editorconfig index 633a125..d30c1d6 100644 --- a/.editorconfig +++ b/.editorconfig @@ -8,5 +8,10 @@ indent_style = tab indent_size = 4 end_of_line = lf charset = utf-8 -trim_trailing_whitespace = false -insert_final_newline = false \ No newline at end of file +trim_trailing_whitespace = true +insert_final_newline = false + + +[*.yml] +indent_style = space +indent_size = 2 \ No newline at end of file diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index da5f0ae..f946069 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,6 +1,7 @@ +name: CI + on: [push] -name: CI jobs: build_and_test: @@ -8,14 +9,24 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - uses: actions-rs/toolchain@v1 - with: - toolchain: stable - - uses: actions-rs/cargo@v1 - with: - command: build - args: --release --all-features - - uses: actions-rs/cargo@v1 - with: - command: test - args: --release \ No newline at end of file + + - name: Update toolchain + run: | + rustup update + rustup install stable + + - name: Status + run: | + cargo --version --verbose + rustc --version + + --name: Test + run: | + cd daisy + cargo check + cargo test --all + + - name: Build + run: | + cd daisy + cargo build --release \ No newline at end of file