swiftlang / swiftlang/github-workflows

Add support for referencing an external .swift-format

Open
#77 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Swift
Stars
115
Forks
57
Avg merge
1d 8h
Merged PRs (30d)
3

Description

Basically the title. I'd like to reference an externally vended and versioned swift-format config file.

For example these repos use the same config and currently have to copy it around:

  • swift-mmio (canonical), swift-embedded-examples, and swift-matter-examples
  • swift-syntax (canonical), swift-format, sourcekit-lsp

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue provides no file or test entry point; begin by tracing how swift-format configuration is consumed in the GitHub workflows repository and reviewing the listed canonical repositories. Done means workflows can reference an externally vended, versioned swift-format configuration so the example repositories no longer copy it.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, swift
Domain
ci-cd
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.