Skip to content

Commit

Permalink
+ Config CI
Browse files Browse the repository at this point in the history
  • Loading branch information
iletai committed Dec 12, 2023
1 parent 17b53a3 commit f28f289
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 17 deletions.
27 changes: 12 additions & 15 deletions .github/workflows/swift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,25 +9,22 @@ on:
branches: [ "master" ]

jobs:
tests:
name: Build and Test
build:
name: Swift ${{ matrix.swift }} on ${{ matrix.os }}
strategy:
matrix:
os: [macos-14]
xcode: ["15"]
os: [macos-latest]
swift: ["5.9"]
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v4
- uses: fwal/setup-swift@v1
with:
swift-version: ${{ matrix.swift }}
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: ${{ matrix.xcode }}
- name: Build
run: swift build -v
- name: Run tests
run: swift test -v
- uses: swift-actions/setup-swift@v1
with:
swift-version: ${{ matrix.swift }}
- uses: actions/checkout@v3
- name: Build
run: swift build
- name: Test
run: swift test


2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import PackageDescription
let package = Package(
name: "CalendarView",
platforms: [
.iOS(.v17)
.macOS(.v14), .iOS(.v17)
],
products: [
// Products define the executables and libraries a package produces, making them visible to other packages.
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ Build a Calendar By Pure SwiftUI with SwiftDate Library for calculator date.

# SwiftUICalendarView

![Swift](https://img.shields.io/badge/Swift-5.5-orange.svg)
![Swift](https://img.shields.io/badge/Swift-5.9-orange.svg)
![Platform](https://img.shields.io/badge/Platform-iOS%20%7C%20macOS-lightgrey.svg)
[![License](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
[![Build Project](https://github.com/iletai/SwiftUICalendarView/actions/workflows/swift.yml/badge.svg)](https://github.com/iletai/SwiftUICalendarView/actions/workflows/swift.yml)

SwiftUICalendarView is a Swift Package for building and displaying a simple calendar interface in SwiftUI. This library provides an easy way to integrate a calendar into your app.

Expand Down

0 comments on commit f28f289

Please sign in to comment.