mirror of
https://github.com/kkebo/DNSecure.git
synced 2026-03-11 08:54:36 +00:00
27 lines
654 B
YAML
27 lines
654 B
YAML
name: ci
|
|
on:
|
|
push:
|
|
branches: ["main"]
|
|
pull_request:
|
|
branches: ["main"]
|
|
permissions: {}
|
|
defaults:
|
|
run:
|
|
shell: bash -euo pipefail {0}
|
|
jobs:
|
|
lint:
|
|
runs-on: ubuntu-24.04-arm
|
|
container: swift:6.2
|
|
permissions:
|
|
contents: read
|
|
steps:
|
|
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
|
- run: swift format lint -rsp .
|
|
yamllint:
|
|
runs-on: ubuntu-24.04-arm
|
|
permissions:
|
|
contents: read
|
|
steps:
|
|
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
|
- run: yamllint --version
|
|
- run: yamllint --strict --config-file .yamllint.yml .
|