From bd1d3dd8d38dbc40e13a64286d38d98f5dda3e15 Mon Sep 17 00:00:00 2001 From: modeco80 Date: Thu, 29 Jun 2023 03:19:35 -0400 Subject: [PATCH] feat(*): add testing CI configuration --- .editorconfig | 4 ++++ .github/workflows/ci.yml | 16 ++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.editorconfig b/.editorconfig index 19546e0..c080e32 100644 --- a/.editorconfig +++ b/.editorconfig @@ -5,3 +5,7 @@ end_of_line = lf insert_final_newline = true indent_style = tab indent_size = 4 + +# spefcifically for YAML +[yml] +indent_style = space diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..e8c1e42 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,16 @@ +on: + push: + pull_request: + +jobs: + build: + strategy: + matrix: + os: [ubuntu-latest, windows-latest] + runs-on: ${{matrix.os}} + steps: + - uses: actions/checkout@v3 + - name: Build + run: cargo build + - name: Test + run: cargo test --verbose