feat: remove setup-swift (#1312)

* feat: remove setup-swift

* Test failure

* Test success

---------

Co-authored-by: Yudong Jin <krahets@163.com>
pull/1324/head
nuomi1 7 months ago committed by GitHub
parent 68f3a453e1
commit 84bb11522e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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

Loading…
Cancel
Save