Skip to content

Commit

Permalink
project: change test to checks workflow name, add lint step
Browse files Browse the repository at this point in the history
  • Loading branch information
kattouf committed Nov 17, 2024
1 parent f9b542a commit 95ef3ca
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/tests.yml → .github/workflows/checks.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
name: Tests
on: [push]
name: Checks
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
name: Integration tests
Expand All @@ -16,3 +22,10 @@ jobs:
run: swift build
- name: Run tests
run: ./Tests/integration_tests.sh .build/debug/progressline
lint:
runs-on: macos-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Run SwiftFormat Linting
run: swiftformat Sources SakeApp Package.swift --lint

0 comments on commit 95ef3ca

Please sign in to comment.