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 indent_size = 4
end_of_line = lf end_of_line = lf
charset = utf-8 charset = utf-8
trim_trailing_whitespace = false trim_trailing_whitespace = true
insert_final_newline = false insert_final_newline = false
[*.yml]
indent_style = space
indent_size = 2

View File

@ -1,6 +1,7 @@
name: CI
on: [push] on: [push]
name: CI
jobs: jobs:
build_and_test: build_and_test:
@ -8,14 +9,24 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with: - name: Update toolchain
toolchain: stable run: |
- uses: actions-rs/cargo@v1 rustup update
with: rustup install stable
command: build
args: --release --all-features - name: Status
- uses: actions-rs/cargo@v1 run: |
with: cargo --version --verbose
command: test rustc --version
args: --release
--name: Test
run: |
cd daisy
cargo check
cargo test --all
- name: Build
run: |
cd daisy
cargo build --release