Skip to content

Commit 0717d65

Browse files
authored
Release Candidate (#45)
* Point dependencies to RC branches * Update dependencies * Point to main branch * Update postgrest-swift * Set postgrest to master * Update functions-swift * Fix functions-swift version * Add examples project * Add auth and todo list example * Support RLS * UI improvement * Implement delete * swift format * Update postgrest-swift * Set postgrest-swift to 1.0.0 * Improve examples * Add swift concurrency flags * Set gotrue version to 0.1.0 * Update packages * Rebase and update dependencies * Add headers parameter documentation * Use `adapt` method * Add CI for building example project * Fix CI * Update dependencies * Add example functions * swiftformat * Add scheme * Remove xcode selection step from ci
1 parent 5a10ee1 commit 0717d65

File tree

35 files changed

+1513
-20
lines changed

35 files changed

+1513
-20
lines changed

.github/workflows/ci.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- "*"
10+
11+
concurrency:
12+
group: ci-${{ github.ref }}
13+
cancel-in-progress: true
14+
15+
jobs:
16+
example:
17+
runs-on: macos-12
18+
strategy:
19+
matrix:
20+
xcode: ["14.1"]
21+
steps:
22+
- uses: actions/checkout@v3
23+
- name: Select Xcode ${{ matrix.xcode }}
24+
run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app
25+
- name: Setup Secrets.swift
26+
run: cp Examples/Examples/_Secrets.swift Examples/Examples/Secrets.swift
27+
- name: Build example
28+
run: make build-example
29+
30+
test-library:
31+
runs-on: macos-12
32+
steps:
33+
- uses: actions/checkout@v3
34+
- name: Setup Secrets.swift
35+
run: cp Examples/Examples/_Secrets.swift Examples/Examples/Secrets.swift
36+
- name: Test library
37+
run: make test-library
38+

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,4 +93,7 @@ iOSInjectionProject/
9393
/.build
9494
/Packages
9595
/*.xcodeproj
96-
/.swiftpm
96+
# /.swiftpm
97+
98+
Secrets.swift
99+
.env

.swiftformat

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
--swiftversion 5.7
2+
--binarygrouping none
3+
--decimalgrouping none
4+
--hexgrouping none
5+
--indent 2
6+
--octalgrouping none
7+
--semicolons never
8+
--wraparguments before-first
9+
--wrapcollections before-first
10+
--wrapparameters before-first
11+
--extensionacl on-declarations
12+
--maxwidth 100

.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Scheme
3+
LastUpgradeVersion = "1420"
4+
version = "1.3">
5+
<BuildAction
6+
parallelizeBuildables = "YES"
7+
buildImplicitDependencies = "YES">
8+
<BuildActionEntries>
9+
<BuildActionEntry
10+
buildForTesting = "YES"
11+
buildForRunning = "YES"
12+
buildForProfiling = "YES"
13+
buildForArchiving = "YES"
14+
buildForAnalyzing = "YES">
15+
<BuildableReference
16+
BuildableIdentifier = "primary"
17+
BlueprintIdentifier = "Supabase"
18+
BuildableName = "Supabase"
19+
BlueprintName = "Supabase"
20+
ReferencedContainer = "container:">
21+
</BuildableReference>
22+
</BuildActionEntry>
23+
</BuildActionEntries>
24+
</BuildAction>
25+
<TestAction
26+
buildConfiguration = "Debug"
27+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
28+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29+
shouldUseLaunchSchemeArgsEnv = "YES">
30+
<Testables>
31+
<TestableReference
32+
skipped = "NO">
33+
<BuildableReference
34+
BuildableIdentifier = "primary"
35+
BlueprintIdentifier = "SupabaseTests"
36+
BuildableName = "SupabaseTests"
37+
BlueprintName = "SupabaseTests"
38+
ReferencedContainer = "container:">
39+
</BuildableReference>
40+
</TestableReference>
41+
</Testables>
42+
</TestAction>
43+
<LaunchAction
44+
buildConfiguration = "Debug"
45+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
46+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
47+
launchStyle = "0"
48+
useCustomWorkingDirectory = "NO"
49+
ignoresPersistentStateOnLaunch = "NO"
50+
debugDocumentVersioning = "YES"
51+
debugServiceExtension = "internal"
52+
allowLocationSimulation = "YES">
53+
</LaunchAction>
54+
<ProfileAction
55+
buildConfiguration = "Release"
56+
shouldUseLaunchSchemeArgsEnv = "YES"
57+
savedToolIdentifier = ""
58+
useCustomWorkingDirectory = "NO"
59+
debugDocumentVersioning = "YES">
60+
<MacroExpansion>
61+
<BuildableReference
62+
BuildableIdentifier = "primary"
63+
BlueprintIdentifier = "Supabase"
64+
BuildableName = "Supabase"
65+
BlueprintName = "Supabase"
66+
ReferencedContainer = "container:">
67+
</BuildableReference>
68+
</MacroExpansion>
69+
</ProfileAction>
70+
<AnalyzeAction
71+
buildConfiguration = "Debug">
72+
</AnalyzeAction>
73+
<ArchiveAction
74+
buildConfiguration = "Release"
75+
revealArchiveInOrganizer = "YES">
76+
</ArchiveAction>
77+
</Scheme>

0 commit comments

Comments
 (0)