From 8fedb3d7c9bfc0b60a5d97b741e9b5259f2ed73c Mon Sep 17 00:00:00 2001 From: "novr (Nobuhisa Komiya)" Date: Fri, 24 Nov 2023 13:39:25 +0900 Subject: [PATCH] set: swift version --- .github/workflows/ci.yml | 4 ++++ Danger/Dangerfile.swift | 2 +- Danger/Package.swift | 2 +- Package.swift | 2 +- README.md | 2 +- 5 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9877b71..b2d33a9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,6 +14,10 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Setup Swift + uses: swift-actions/setup-swift@v1.25.0 + with: + swift-version: '5.9' - name: Run tests run: swift test - name: Danger diff --git a/Danger/Dangerfile.swift b/Danger/Dangerfile.swift index 9259597..ea5e767 100644 --- a/Danger/Dangerfile.swift +++ b/Danger/Dangerfile.swift @@ -1,6 +1,6 @@ import Foundation import Danger -import DangerSwiftEda // package: https://github.com/yumemi-inc/danger-swift-eda.git +import DangerSwiftEda // MARK: - チェックルーチン let danger = Danger() diff --git a/Danger/Package.swift b/Danger/Package.swift index 2fe8fc7..f608964 100644 --- a/Danger/Package.swift +++ b/Danger/Package.swift @@ -1,4 +1,4 @@ -// swift-tools-version:5.7 +// swift-tools-version:5.9 // The swift-tools-version declares the minimum version of Swift required to build this package. import PackageDescription diff --git a/Package.swift b/Package.swift index e2e84d0..3538b50 100644 --- a/Package.swift +++ b/Package.swift @@ -1,4 +1,4 @@ -// swift-tools-version:5.3 +// swift-tools-version:5.9 // The swift-tools-version declares the minimum version of Swift required to build this package. import PackageDescription diff --git a/README.md b/README.md index e750e03..0ad5af0 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[![Build](https://github.com/yumemi-inc/danger-swift-shoki/actions/workflows/ci.yml/badge.svg)](https://github.com/yumemi-inc/danger-swift-shoki/actions/workflows/ci.yml) +[![CI](https://github.com/yumemi-inc/danger-swift-shoki/actions/workflows/ci.yml/badge.svg)](https://github.com/yumemi-inc/danger-swift-shoki/actions/workflows/ci.yml) [![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fyumemi-inc%2Fdanger-swift-shoki%2Fbadge%3Ftype%3Dswift-versions)](https://swiftpackageindex.com/yumemi-inc/danger-swift-shoki) [![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fyumemi-inc%2Fdanger-swift-shoki%2Fbadge%3Ftype%3Dplatforms)](https://swiftpackageindex.com/yumemi-inc/danger-swift-shoki)