Skip to content

Conversation

@rismay
Copy link
Member

@rismay rismay commented Aug 15, 2025

Summary

  • replace the GitHub Actions workflow for SwiftLint with a SwiftFormat workflow
  • update README to reference the new SwiftFormat workflow badge

Testing

  • swift format --configuration https://raw.githubusercontent.com/wrkstrm/configs/main/linting/.swift-format -i -r -p . (fails: Unable to read configuration)
  • swiftlint
  • swift test

https://chatgpt.com/codex/tasks/task_e_689ee501b5ec83338764dcee5c3b556f

Copilot AI review requested due to automatic review settings August 15, 2025 07:49
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR replaces the SwiftLint-based code linting workflow with a SwiftFormat-based workflow for code formatting. The change simplifies the CI pipeline by removing linting checks and focusing solely on code formatting.

  • Removes the existing SwiftLint workflow and replaces it with a new SwiftFormat workflow
  • Updates README badge references to point to the new SwiftFormat workflow
  • Removes SwiftLint installation and execution steps while keeping only SwiftFormat

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
README.md Updates workflow badge references from SwiftLint to SwiftFormat
.github/workflows/wrkstrm-log-swiftlint.yml Completely removes the SwiftLint workflow file
.github/workflows/wrkstrm-log-swiftformat.yml Creates new SwiftFormat-only workflow without linting

You can also share your feedback on Copilot code review for a chance to win a $100 gift card. Take the survey.

uses: maxim-lobanov/setup-xcode@v1
if: matrix.os == 'macos-latest' || matrix.os == 'macos-15' || matrix.os == 'self-hosted'
with:
xcode-version: '16.4'
Copy link

Copilot AI Aug 15, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Xcode setup step will never execute because the workflow only runs on ubuntu-latest, but the condition checks for macOS runners. This step should be removed or the matrix should include macOS runners.

Suggested change
xcode-version: '16.4'

Copilot uses AI. Check for mistakes.
@rismay rismay merged commit 44ce19d into main Aug 15, 2025
2 of 3 checks passed
@rismay rismay deleted the codex/remove-swift-lint-from-github-workflow branch August 15, 2025 08:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants