mirror of
https://github.com/krahets/hello-algo.git
synced 2024-12-24 04:26:30 +08:00
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:
parent
68f3a453e1
commit
84bb11522e
1 changed files with 1 additions and 5 deletions
6
.github/workflows/swift.yml
vendored
6
.github/workflows/swift.yml
vendored
|
@ -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…
Reference in a new issue