Skip to content

Commit 3cd0c1d

Browse files
authored
Merge pull request #33 from RougeWare/feature/32-Build-on-PR
Build on PR
2 parents eb103d5 + d72c858 commit 3cd0c1d

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.github/workflows/swift.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
name: Swift
1+
name: Tests
22

3-
on: [push]
3+
on: [push, pull_request]
44

55
jobs:
66
build:

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
1-
[![CodeFactor](https://www.codefactor.io/repository/github/rougeware/swift-lazy-containers/badge)](https://www.codefactor.io/repository/github/rougeware/swift-lazy-containers)
2-
[![Swift GitHub workflow](https://github.com/RougeWare/Swift-Lazy-Patterns/workflows/Swift/badge.svg)](https://github.com/RougeWare/Swift-Lazy-Patterns/actions?query=workflow%3ASwift)
1+
[![Tested on GitHub Actions](https://github.com/RougeWare/swift-lazy-containers/actions/workflows/swift.yml/badge.svg)](https://github.com/RougeWare/swift-lazy-containers/actions/workflows/swift.yml) [![](https://www.codefactor.io/repository/github/rougeware/swift-lazy-containers/badge)](https://www.codefactor.io/repository/github/rougeware/swift-lazy-containers)
2+
3+
[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2FRougeWare%2FSwift-Lazy-Containers%2Fbadge%3Ftype%3Dswift-versions)](https://swiftpackageindex.com/RougeWare/Swift-Lazy-Containers) [![swift package manager 5.2 is supported](https://img.shields.io/badge/swift%20package%20manager-5.2-brightgreen.svg)](https://swift.org/package-manager) [![Supports macOS, iOS, tvOS, watchOS, Linux, & Windows](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2FRougeWare%2FSwift-Lazy-Containers%2Fbadge%3Ftype%3Dplatforms)](https://swiftpackageindex.com/RougeWare/Swift-Lazy-Containers)
4+
[![](https://img.shields.io/github/release-date/rougeware/swift-lazy-containers?label=latest%20release)](https://github.com/RougeWare/Swift-Lazy-Containers/releases/latest)
5+
6+
37

48
# [Swift Lazy Containers](https://github.com/RougeWare/Swift-Lazy-Patterns) #
59
A few ways to have a lazily-initialized value in Swift 5.1. Note that, if you are OK with the behavior of Swift's `lazy` keyword, you should use that. This is for [those who want very specific behaviors](https://stackoverflow.com/a/40847994/3939277):

0 commit comments

Comments
 (0)