term-kit-backend/.gitea/workflows/swiftlint.yml

30 lines
613 B
YAML
Raw Normal View History

2024-07-10 14:41:11 +02:00
name: SwiftLint
on:
push:
paths:
2024-10-14 11:25:51 +02:00
- '.gitea/workflows/swiftlint.yml'
2024-07-10 14:41:11 +02:00
- '.swiftlint.yml'
- '**/*.swift'
pull_request:
paths:
2024-10-14 11:25:51 +02:00
- '.gitea/workflows/swiftlint.yml'
2024-07-10 14:41:11 +02:00
- '.swiftlint.yml'
- '**/*.swift'
workflow_dispatch:
paths:
2024-10-14 11:25:51 +02:00
- '.gitea/workflows/swiftlint.yml'
2024-07-10 14:41:11 +02:00
- '.swiftlint.yml'
- '**/*.swift'
jobs:
SwiftLint:
runs-on: ubuntu-latest
steps:
2024-10-14 11:25:51 +02:00
- uses: actions/checkout@v4
2024-07-10 14:41:11 +02:00
- name: SwiftLint
uses: norio-nomura/action-swiftlint@3.2.1
with:
args: --strict
env:
2024-10-14 11:25:51 +02:00
WORKING_DIRECTORY: Source