feat: remove setup-swift (#1312)

* feat: remove setup-swift

* Test failure

* Test success

---------

Co-authored-by: Yudong Jin <krahets@163.com>
This commit is contained in:
nuomi1 2024-04-30 15:59:56 +08:00 committed by GitHub
parent 68f3a453e1
commit 84bb11522e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -14,16 +14,12 @@ on:
jobs:
build:
name: Swift ${{ matrix.swift }} on ${{ matrix.os }}
name: Swift on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: ["ubuntu-22.04", "macos-14"]
swift: ["5.10", "5.9"]
steps:
- uses: swift-actions/setup-swift@v2
with:
swift-version: ${{ matrix.swift }}
- uses: actions/checkout@v4
- name: Build
run: swift build --package-path codes/swift