Skip to content

Commit 6efa09d

Browse files
committed
chore: setup github actions
1 parent f54ff1b commit 6efa09d

File tree

2 files changed

+38
-0
lines changed

2 files changed

+38
-0
lines changed

.editorconfig

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
; This file is for unifying the coding style for different editors and IDEs.
2+
; More information at http://editorconfig.org
3+
4+
root = true
5+
6+
[*]
7+
charset = utf-8
8+
indent_style = space
9+
indent_size = 2
10+
insert_final_newline = true
11+
trim_trailing_whitespace = true
12+
13+
[Makefile]
14+
indent_style = tab

.github/workflows/checks.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Checks
2+
3+
on:
4+
- push
5+
6+
jobs:
7+
build:
8+
runs-on: macos-latest
9+
10+
steps:
11+
- uses: actions/checkout@v3
12+
13+
- uses: swift-actions/setup-swift@v2
14+
with:
15+
swift-version: "6.1.2"
16+
17+
- name: Install dependencies
18+
run: swift package resolve
19+
20+
- name: Build
21+
run: swift build
22+
23+
- name: Test
24+
run: swift test

0 commit comments

Comments
 (0)