Skip to content

Commit 5885cf5

Browse files
committed
docs: Add wasi 0.1 build status badge to README.md.
1 parent cbffe10 commit 5885cf5

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

.github/workflows/wasm.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ jobs:
2121
- uses: swiftwasm/setup-swiftwasm@v2
2222
with:
2323
target: "wasm32-unknown-wasip1-threads"
24-
- run: swift build --swift-sdk wasm32-unknown-wasip1-threads
24+
- run: swift build --swift-sdk wasm32-unknown-wasip1-threads

Package.swift

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,13 @@ let package = Package(
1313
dependencies: [
1414
.package(url: "https://github.com/apple/swift-algorithms.git", from: "1.0.0"),
1515
.package(url: "https://github.com/adam-fowler/async-collections", from: "0.0.1"),
16-
16+
1717
// TODO: SM: Revert before merging. Temporarily using PL nio to test fix for NIOCore.
1818
// .package(url: "https://github.com/apple/swift-nio.git", from: "2.0.0"),
19-
.package(url: "https://github.com/PassiveLogic/swift-nio.git", branch: "fix/fix-niocore-build-for-wasip1")
19+
.package(
20+
url: "https://github.com/PassiveLogic/swift-nio.git",
21+
branch: "fix/fix-niocore-build-for-wasip1"
22+
),
2023
],
2124
targets: [
2225
.target(

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
[![](https://img.shields.io/badge/License-MIT-blue.svg?style=flat)](https://tldrlegal.com/license/mit-license)
44
[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2FGraphQLSwift%2FDataLoader%2Fbadge%3Ftype%3Dswift-versions)](https://swiftpackageindex.com/GraphQLSwift/DataLoader)
55
[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2FGraphQLSwift%2FDataLoader%2Fbadge%3Ftype%3Dplatforms)](https://swiftpackageindex.com/GraphQLSwift/DataLoader)
6+
[![WASI 0.1](https://github.com/GraphQLSwift/DataLoader/actions/workflows/wasm.yml/badge.svg?branch=main)](https://github.com/GraphQLSwift/DataLoader/actions/workflows/wasm.yml)
67

78
DataLoader is a generic utility to be used as part of your application's data fetching layer to provide a simplified and consistent API over various remote data sources such as databases or web services via batching and caching.
89

0 commit comments

Comments
 (0)