Skip to content

Commit

Permalink
testing
Browse files Browse the repository at this point in the history
  • Loading branch information
externl committed Jan 10, 2025
1 parent 68e35a6 commit e21f155
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/swift.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Swift lint and format
name: Swift Format

on:
workflow_dispatch:
Expand All @@ -10,7 +10,7 @@ on:

jobs:
swift-format:
name: Swift Format & Lint
name: Swift format and lint
runs-on: ubuntu-latest
container:
image: swift
Expand All @@ -20,16 +20,15 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4

- name: Git status
- name: Set safe directory
run: |
ls -la
git status
git config --global --add safe.directory /__w/ice/ice
- name: swift-format Format
working-directory: swift
run: |
swift format . --recursive --in-place --configuration .swift-format.json
/usr/bin/git diff --exit-code
git diff --exit-code
- name: swift-format Lint
working-directory: swift
Expand Down

0 comments on commit e21f155

Please sign in to comment.