Skip to content

ci: add codeql.yml #136

ci: add codeql.yml

ci: add codeql.yml #136

Workflow file for this run

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@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
- run: swift format lint -rsp .
yamllint:
runs-on: ubuntu-24.04-arm
permissions:
contents: read
steps:
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
- run: yamllint --version
- run: yamllint --strict --config-file .yamllint.yml .