mirror of
https://github.com/apple/swift-nio
synced 2026-11-28 05:14:23 +00:00
Checkout any submodules when running Actions (#2946)
Motivation: Some repos using this as their source of GitHub Actions logic have submodules. Modifications: Change workflows to checkout submodules. Result: All CI will work cleanly
This commit is contained in:
1 parent
c4a6cdea3a
commit
062b28eeb0
2 files changed
+3
No files matched your search
@@ -19,6 +19,7 @@ jobs:
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
persist-credentials: false
|
||||
submodules: true
|
||||
- name: Set the language mode
|
||||
run: swift package tools-version --set 6.0
|
||||
- name: Build with Swift 6 language mode
|
||||
|
||||
@@ -130,6 +130,7 @@ jobs:
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
persist-credentials: false
|
||||
submodules: true
|
||||
- name: Mark the workspace as safe
|
||||
if: ${{ matrix.swift.enabled }}
|
||||
# https://github.com/actions/checkout/issues/766
|
||||
@@ -199,6 +200,7 @@ jobs:
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
persist-credentials: false
|
||||
submodules: true
|
||||
- name: Donwload matrix script
|
||||
if: ${{ matrix.swift.enabled }}
|
||||
run: curl -s https://raw.githubusercontent.com/apple/swift-nio/main/scripts/check-matrix-job.ps1 -o __check-matrix-job.ps1
|
||||
|
||||
Reference in new issue
Block a user