Skip to content

Commit

Permalink
Merge pull request #2 from novr/novr-patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
novr committed Nov 16, 2023
2 parents 9178cd6 + d65aac2 commit 4358824
Show file tree
Hide file tree
Showing 4 changed files with 62 additions and 2 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/swift.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# This workflow will build a Swift project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-swift

name: Swift

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build:
runs-on: macos-13
env:
XCODE_VERSION: '15.0'
steps:
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: ${{ env.XCODE_VERSION }}
- uses: actions/checkout@v4
- name: Build
run: swift build -v
- name: Run tests
run: swift test -v
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,5 @@
/*.xcodeproj
xcuserdata/
DerivedData/
.swiftpm/config/registries.json
.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata
.swiftpm
.netrc
32 changes: 32 additions & 0 deletions Package.resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"pins" : [
{
"identity" : "compute",
"kind" : "remoteSourceControl",
"location" : "https://github.com/swift-cloud/Compute",
"state" : {
"revision" : "cc89dba27ade5713a2ac167fc752c4f4fe00439a",
"version" : "2.17.0"
}
},
{
"identity" : "swift-crypto",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-crypto",
"state" : {
"revision" : "33a20e650c33f6d72d822d558333f2085effa3dc",
"version" : "2.5.0"
}
},
{
"identity" : "swift-openapi-runtime",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-openapi-runtime.git",
"state" : {
"revision" : "ef2b34c4eb3175988dd318df7849d2052f106466",
"version" : "0.2.5"
}
}
],
"version" : 2
}
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
[![Build](https://github.com/novr/swift-openapi-compute/actions/workflows/swift.yml/badge.svg)](https://github.com/novr/swift-openapi-compute/actions/workflows/swift.yml)
[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fnovr%2Fswift-openapi-compute%2Fbadge%3Ftype%3Dswift-versions)](https://swiftpackageindex.com/novr/swift-openapi-compute)
[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fnovr%2Fswift-openapi-compute%2Fbadge%3Ftype%3Dplatforms)](https://swiftpackageindex.com/novr/swift-openapi-compute)

# Swift OpenAPI Compute

This package provides Compute Bindings for the [OpenAPI generator](https://github.com/apple/swift-openapi-generator).
Expand Down

0 comments on commit 4358824

Please sign in to comment.