Skip to content

Commit

Permalink
add test for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
darwin67 committed Feb 22, 2024
1 parent 9330597 commit 510f247
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,15 @@ root = true
[*]
charset = utf-8
end_of_line = lf
indent_size = 4
indent_size = 2
indent_style = space
insert_final_newline = false
max_line_length = 120
tab_width = 2

[*.{kt,kts}]
indent_size = 4
tab_width = 4

[Makefile]
indent_style = tab
17 changes: 17 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,23 @@ on:

jobs:
# TODO: build?
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
java: ["8", "11", "17", "21"]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: ${{ matrix.java }}
java-package: jdk
cache: gradle

- name: Test
run: make test

lint:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 510f247

Please sign in to comment.