mirror of
https://github.com/kkebo/DNSecure.git
synced 2026-03-11 08:54:36 +00:00
ci: add CI
This commit is contained in:
parent
83533600ad
commit
dcb6962205
1 changed files with 21 additions and 0 deletions
21
.github/workflows/ci.yml
vendored
Normal file
21
.github/workflows/ci.yml
vendored
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
name: ci
|
||||
on:
|
||||
push:
|
||||
branches: ["main"]
|
||||
pull_request:
|
||||
branches: ["main"]
|
||||
jobs:
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
container: swift:6.1
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- run: swift format lint -rsp .
|
||||
yamllint:
|
||||
runs-on: ubuntu-latest
|
||||
container: alpine:3.21
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- run: apk update && apk add yamllint
|
||||
- run: yamllint --version
|
||||
- run: yamllint --strict --config-file .yamllint.yml .
|
||||
Loading…
Reference in a new issue