Skip to content
This repository was archived by the owner on May 29, 2025. It is now read-only.

Commit 58b9ce4

Browse files
author
Gui Sabran
committed
several steps
1 parent d74d25c commit 58b9ce4

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/swift.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
branches: [ "main" ]
1111

1212
jobs:
13-
build:
13+
build_and_test:
1414

1515
# TODO: once https://github.com/swift-actions/setup-swift/pull/684 is merged, revert to:
1616

@@ -30,6 +30,11 @@ jobs:
3030
run: swift build -q
3131
- name: Run tests
3232
run: swift test -q
33+
34+
lint:
35+
runs-on: macos-15
36+
steps:
37+
- uses: actions/checkout@v4
3338
- name: Run linter
3439
run: swift package --allow-writing-to-package-directory format
3540
- name: Verify that `swift package --allow-writing-to-package-directory format` did not change outputs (if it did, please re-run it and re-commit!)

0 commit comments

Comments
 (0)