Skip to content

Commit

Permalink
add: checks.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mflknr authored Jun 14, 2024
1 parent 4d56cc8 commit fc4dfe8
Showing 1 changed file with 54 additions and 0 deletions.
54 changes: 54 additions & 0 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
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:
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

0 comments on commit fc4dfe8

Please sign in to comment.