mirror of
https://github.com/mii443/AzooKeyKanaKanjiConverter.git
synced 2025-08-22 15:05:26 +00:00
fix
This commit is contained in:
22
.github/workflows/swift.yml
vendored
22
.github/workflows/swift.yml
vendored
@ -1,12 +1,7 @@
|
||||
# This workflow will build a Swift project
|
||||
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-swift
|
||||
|
||||
name: Swift on ${{ matrix.os }}
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest, macos-latest]
|
||||
|
||||
name: Swift Build
|
||||
on:
|
||||
push:
|
||||
branches: [ "main", "develop" ]
|
||||
@ -15,15 +10,14 @@ on:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Swift on ${{ matrix.os }}
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest, macos-latest]
|
||||
steps:
|
||||
- uses: swift-actions/setup-swift@v1
|
||||
with:
|
||||
swift-version: "5.9"
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: true
|
||||
- name: Build
|
||||
run: swift build -Xswiftc -strict-concurrency=complete -v
|
||||
- name: Run tests
|
||||
run: swift test -c release -Xswiftc -strict-concurrency=complete -v
|
||||
swift-version: 5.9
|
||||
- name: Get swift version
|
||||
run: swift --version
|
||||
|
Reference in New Issue
Block a user