This commit is contained in:
22
.gitea/workflows/hermes.yml
Normal file
22
.gitea/workflows/hermes.yml
Normal file
@@ -0,0 +1,22 @@
|
||||
name: Run Swift Tests
|
||||
|
||||
on:
|
||||
push:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Setup Swift
|
||||
uses: swift-actions/setup-swift@v2
|
||||
|
||||
- name: Get swift version
|
||||
run: swift --version
|
||||
|
||||
- name: Build and test
|
||||
run: |
|
||||
swift test
|
||||
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,5 +1,6 @@
|
||||
.DS_Store
|
||||
/.build
|
||||
/.vscode
|
||||
/Packages
|
||||
xcuserdata/
|
||||
DerivedData/
|
||||
|
||||
@@ -5,6 +5,9 @@
|
||||
//
|
||||
|
||||
import Foundation
|
||||
#if canImport(FoundationNetworking)
|
||||
import FoundationNetworking
|
||||
#endif
|
||||
|
||||
public enum NetworkError: Error {
|
||||
case badRequest
|
||||
|
||||
Reference in New Issue
Block a user