Edited actions

pull/2/head
Mark 2023-04-10 14:07:04 -07:00
parent ba2465dc5e
commit 6f6d98d2f6
Signed by: Mark
GPG Key ID: AD62BB059C2AAEE4
2 changed files with 30 additions and 14 deletions

View File

@ -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
trim_trailing_whitespace = true
insert_final_newline = false
[*.yml]
indent_style = space
indent_size = 2

View File

@ -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
- 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