Skip to content

Commit dcb6962

Browse files
committed
ci: add CI
1 parent 8353360 commit dcb6962

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: ci
2+
on:
3+
push:
4+
branches: ["main"]
5+
pull_request:
6+
branches: ["main"]
7+
jobs:
8+
lint:
9+
runs-on: ubuntu-latest
10+
container: swift:6.1
11+
steps:
12+
- uses: actions/checkout@v4
13+
- run: swift format lint -rsp .
14+
yamllint:
15+
runs-on: ubuntu-latest
16+
container: alpine:3.21
17+
steps:
18+
- uses: actions/checkout@v4
19+
- run: apk update && apk add yamllint
20+
- run: yamllint --version
21+
- run: yamllint --strict --config-file .yamllint.yml .

0 commit comments

Comments
 (0)