Skip to content

add: checks.yml

add: checks.yml #1

Workflow file for this run

name: checks
on:
push:
branches: [ "main", "develop" ]
pull_request:
branches: [ "main", "develop" ]
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: jdx/mise-action@v2
with:

Check failure on line 15 in .github/workflows/checks.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/checks.yml

Invalid workflow file

You have an error in your yaml syntax on line 15
version: latest
install: true
cache: true
- run: make prepare
- run: make build
test:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: jdx/mise-action@v2
with:
version: latest
install: true
cache: true
- run: make prepare
# - run: make test # disbaled until signing is correctly setted up
lint-swiftlint:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: jdx/mise-action@v2
with:
version: latest
install: true
cache: true
- run: make lint-swiftlint
lint-swiftformat:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: jdx/mise-action@v2
with:
version: latest
install: true
cache: true
- run: make lint-strict-swiftformat