mirror of
https://github.com/nicklockwood/SwiftFormat.git
synced 2026-05-17 10:30:35 +00:00
Bump the github-actions group with 2 updates (#2188)
This commit is contained in:
committed by
Cal Stephens
parent
5e7882baa8
commit
3f15e2e793
@@ -19,7 +19,7 @@ jobs:
|
||||
with:
|
||||
xcode-version: ${{ matrix.xcode }}
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v5
|
||||
- name: Build and Test
|
||||
run: |
|
||||
# Set up a git user for the git tests
|
||||
@@ -55,7 +55,7 @@ jobs:
|
||||
options: --cap-add=SYS_PTRACE --security-opt seccomp=unconfined --security-opt apparmor=unconfined
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v5
|
||||
- name: Build and Test
|
||||
run: |
|
||||
# Set up a git user for the git tests
|
||||
@@ -82,7 +82,7 @@ jobs:
|
||||
with:
|
||||
tag: ${{ matrix.tag }}
|
||||
branch: ${{ matrix.branch }}
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v5
|
||||
- run: swift test
|
||||
|
||||
command-line-tool:
|
||||
@@ -100,7 +100,7 @@ jobs:
|
||||
with:
|
||||
xcode-version: ${{ matrix.xcode }}
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v5
|
||||
- name: Build Command Line Tool
|
||||
run: xcodebuild -project SwiftFormat.xcodeproj -scheme "SwiftFormat (Command Line Tool)" -sdk macosx clean build
|
||||
|
||||
@@ -119,7 +119,7 @@ jobs:
|
||||
with:
|
||||
xcode-version: ${{ matrix.xcode }}
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v5
|
||||
- name: Build Swift Format for Xcode app
|
||||
run: xcodebuild -project SwiftFormat.xcodeproj -scheme "SwiftFormat for Xcode" -sdk macosx clean build
|
||||
|
||||
@@ -138,7 +138,7 @@ jobs:
|
||||
with:
|
||||
xcode-version: ${{ matrix.xcode }}
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v5
|
||||
- name: Build Editor Extension
|
||||
run: xcodebuild -project SwiftFormat.xcodeproj -scheme "SwiftFormat (Editor Extension)" -sdk macosx clean build
|
||||
|
||||
@@ -157,6 +157,6 @@ jobs:
|
||||
with:
|
||||
xcode-version: ${{ matrix.xcode }}
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v5
|
||||
- name: Run Regression Tests
|
||||
run: xcodebuild -project SwiftFormat.xcodeproj -scheme "Regression Tests" test
|
||||
|
||||
@@ -17,7 +17,7 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v5
|
||||
|
||||
- name: Extract metadata (tags, labels) for Docker
|
||||
id: meta
|
||||
|
||||
@@ -8,7 +8,7 @@ jobs:
|
||||
runs-on: macos-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v5
|
||||
- name: Set Version Number
|
||||
run: echo "Using version number $GITHUB_REF_NAME" && sed -i '' "s/let swiftFormatVersion = \"[^\"]*\"/let swiftFormatVersion = \"$GITHUB_REF_NAME\"/" Sources/SwiftFormat.swift
|
||||
- name: Build macOS binary (arm64)
|
||||
@@ -33,7 +33,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v5
|
||||
- name: Set Version Number
|
||||
run: echo "Using version number $GITHUB_REF_NAME" && sed -i "s/let swiftFormatVersion = \"[^\"]*\"/let swiftFormatVersion = \"$GITHUB_REF_NAME\"/" Sources/SwiftFormat.swift
|
||||
- name: Set up Docker Buildx
|
||||
@@ -72,8 +72,8 @@ jobs:
|
||||
needs: [macos, linux]
|
||||
steps:
|
||||
- name: Checkout the repository
|
||||
uses: actions/checkout@v4
|
||||
- uses: actions/download-artifact@v4
|
||||
uses: actions/checkout@v5
|
||||
- uses: actions/download-artifact@v5
|
||||
with:
|
||||
path: downloaded_artifacts
|
||||
pattern: swiftformat_*
|
||||
|
||||
@@ -30,7 +30,7 @@ jobs:
|
||||
branch: swift-6.1-release
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v5
|
||||
|
||||
- run: swift build -c release --triple ${{ matrix.target-triple }} -Xswiftc -gnone
|
||||
|
||||
@@ -81,8 +81,8 @@ jobs:
|
||||
if: always()
|
||||
steps:
|
||||
- name: Checkout the repository
|
||||
uses: actions/checkout@v4
|
||||
- uses: actions/download-artifact@v4
|
||||
uses: actions/checkout@v5
|
||||
- uses: actions/download-artifact@v5
|
||||
with:
|
||||
path: downloaded-artifacts
|
||||
pattern: SwiftFormat.*.msi
|
||||
|
||||
Reference in New Issue
Block a user