Skip to content

Commit d8f5b29

Browse files
authored
Merge pull request #1 from SwiftRex/develop
Fix CI
2 parents 956375c + 55d9cfe commit d8f5b29

File tree

4 files changed

+14
-11
lines changed

4 files changed

+14
-11
lines changed

.github/workflows/swift.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,16 @@ jobs:
2121
- name: Get swift version
2222
run: swift --version
2323
- name: Cache Mint
24-
uses: actions/cache@v2
24+
if: ${{ matrix.os == 'macos-latest' }}
25+
id: cache-mint
26+
uses: actions/cache@v3
2527
with:
26-
key: mint_deps
2728
path: ~/mint
29+
key: ${{ runner.os }}-mint-${{ hashFiles('**/Mintfile') }}
30+
restore-keys: ${{ runner.os }}-mint-
2831
- uses: actions/checkout@v2
2932
- name: Install Dependencies (Mac only)
30-
if: ${{ matrix.os == 'macos-latest' }}
33+
if: ${{ matrix.os == 'macos-latest' && steps.cache-npm.outputs.cache-hit != 'true' }}
3134
env:
3235
MINT_PATH: '~/mint'
3336
run: |

Package.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ let package = Package(
55
name: "Reducer",
66
platforms: [.macOS(.v10_13), .iOS(.v11), .tvOS(.v11), .watchOS(.v4)],
77
products: [
8-
.library(name: "Reducer", targets: ["Reducer"]),
8+
.library(name: "Reducer", targets: ["Reducer"])
99
// .plugin(name: "Linter", targets: ["SwiftLintPlugin"])
1010
],
1111
targets: [
1212
.target(name: "Reducer"), // dependencies: ["SwiftLintPlugin"]),
13-
.testTarget(name: "ReducerTests", dependencies: ["Reducer"]),
13+
.testTarget(name: "ReducerTests", dependencies: ["Reducer"])
1414
// Please keep it commented out. This should be uncommented only for when developing the library in Xcode
1515
// .binaryTarget(
1616
// name: "SwiftLintBinary",

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
</p>
55

66
![Build Status](https://github.com/SwiftRex/SwiftRex/actions/workflows/swift.yml/badge.svg?branch=develop)
7-
[![codecov](https://codecov.io/gh/SwiftRex/SwiftRex/branch/develop/graph/badge.svg)](https://codecov.io/gh/SwiftRex/SwiftRex)
7+
[![codecov](https://codecov.io/gh/SwiftRex/Reducer/branch/master/graph/badge.svg?token=JqeB4QMx0T)](https://codecov.io/gh/SwiftRex/Reducer)
88
[![Jazzy Documentation](https://swiftrex.github.io/SwiftRex/api/badge.svg)](https://swiftrex.github.io/SwiftRex/api/index.html)
99
[![CocoaPods compatible](https://img.shields.io/cocoapods/v/SwiftRex.svg)](https://cocoapods.org/pods/SwiftRex)
10-
[![Swift Package Manager compatible](https://img.shields.io/badge/Swift%20Package%20Manager-compatible-orange.svg)](https://swiftpackageindex.com/SwiftRex/SwiftRex)
11-
[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2FSwiftRex%2FSwiftRex%2Fbadge%3Ftype%3Dswift-versions)](https://swiftpackageindex.com/SwiftRex/SwiftRex)
12-
[![Platform support](https://img.shields.io/badge/platform-iOS%20%7C%20watchOS%20%7C%20tvOS%20%7C%20macOS%20%7C%20Catalyst-252532.svg)](https://github.com/SwiftRex/SwiftRex)
13-
[![License Apache 2.0](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://github.com/SwiftRex/SwiftRex/blob/master/LICENSE)
10+
[![Swift Package Manager compatible](https://img.shields.io/badge/Swift%20Package%20Manager-compatible-orange.svg)](https://swiftpackageindex.com/SwiftRex/Reducer)
11+
[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2FSwiftRex%2FReducer%2Fbadge%3Ftype%3Dswift-versions)](https://swiftpackageindex.com/SwiftRex/Reducer)
12+
[![Platform support](https://img.shields.io/badge/platform-iOS%20%7C%20watchOS%20%7C%20tvOS%20%7C%20macOS%20%7C%20Catalyst-252532.svg)](https://github.com/SwiftRex/Reducer)
13+
[![License Apache 2.0](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://github.com/SwiftRex/Reducer/blob/master/LICENSE)
1414

1515
If you've got questions, about SwiftRex or redux and Functional Programming in general, please [Join our Slack Channel](https://join.slack.com/t/swiftrex/shared_invite/zt-oko9h1z4-Nq4YsK2FbMJ~giN01sdDeQ).
1616

Tests/ReducerTests/ReducerTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import Foundation
22
@testable import Reducer
33
import XCTest
44

5-
// swiftlint:disable:next type_body_length
5+
// swiftlint:disable:next
66
class ReducerTests: XCTestCase {
77
func testAnyReducer() {
88
// Given

0 commit comments

Comments
 (0)