Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,18 @@ jobs:

steps:
- uses: actions/checkout@v4
# Formatting, before anything slower. Five releases in a row reached main with
# `swift-format --strict` failing — #320, #350, #351, #352 and one in
# ProjectPersistence — every one a line the formatter wraps on its own, and every
# one found at release time because nothing on the PR path checked it. A green
# `swift build` and a green test run say nothing about formatting.
#
# `swift format` ships with the toolchain in this container, so this needs no new
# dependency. It is the format half of `make check`; the swiftlint half stays out
# because swiftlint is not in this image, and none of the five failures were lint.
- name: swift-format --strict
run: swift format lint --recursive --strict --configuration .swift-format
GraphcodeKit graphcode graphcode-cli graphcoded
- run: swift build
- run: .build/debug/graphcode
# The built CLI against a throwaway daemon — exit 0 on the verbs that dial it.
Expand Down
Loading