Use cache
This commit is contained in:
parent
6050903a1f
commit
40fc12d02c
5 changed files with 41 additions and 6 deletions
26
.github/workflows/testing.yml
vendored
26
.github/workflows/testing.yml
vendored
|
|
@ -11,12 +11,30 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
brew install libtool automake cmake carthage go@1.14 swiftlint swiftformat
|
brew install libtool automake cmake carthage go@1.14 swiftlint swiftformat
|
||||||
gem install bundler
|
gem install bundler
|
||||||
- name: Preparing dependencies
|
bundle install
|
||||||
|
- uses: actions/cache@v2
|
||||||
|
id: carthage-cache
|
||||||
|
with:
|
||||||
|
path: Carthage
|
||||||
|
key: ${{ runner.os }}-carthage-${{ hashFiles('**/Cartfile.resolved') }}
|
||||||
|
restore-keys: |
|
||||||
|
${{ runner.os }}-carthage-
|
||||||
|
- uses: actions/cache@v2
|
||||||
|
id: pods-cache
|
||||||
|
with:
|
||||||
|
path: Pods
|
||||||
|
key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }}
|
||||||
|
restore-keys: |
|
||||||
|
${{ runner.os }}-pods-
|
||||||
|
- name: Carthage
|
||||||
|
if: steps.carthage-cache.outputs.cache-hit != 'true'
|
||||||
|
run: ./scripts/wcarthage bootstrap --platform iOS --no-use-binaries --cache-builds
|
||||||
|
- name: Cocoapods
|
||||||
|
if: steps.pods-cache.outputs.cache-hit != 'true'
|
||||||
|
run: bundle exec pod install
|
||||||
|
- name: GopenPGP
|
||||||
run: |
|
run: |
|
||||||
export PATH="/usr/local/opt/go@1.14/bin:$PATH"
|
export PATH="/usr/local/opt/go@1.14/bin:$PATH"
|
||||||
bundle install
|
|
||||||
bundle exec pod install
|
|
||||||
./scripts/wcarthage bootstrap --platform iOS
|
|
||||||
./scripts/gopenpgp_build.sh
|
./scripts/gopenpgp_build.sh
|
||||||
- name: Testing
|
- name: Testing
|
||||||
run: bundle exec fastlane test
|
run: bundle exec fastlane test
|
||||||
|
|
|
||||||
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -45,7 +45,6 @@ playground.xcworkspace
|
||||||
#
|
#
|
||||||
Pods/
|
Pods/
|
||||||
Podfile.lock
|
Podfile.lock
|
||||||
*.xcworkspace/
|
|
||||||
|
|
||||||
# Carthage
|
# Carthage
|
||||||
#
|
#
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
5.3
|
5.3.1
|
||||||
|
|
|
||||||
10
pass.xcworkspace/contents.xcworkspacedata
generated
Normal file
10
pass.xcworkspace/contents.xcworkspacedata
generated
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<Workspace
|
||||||
|
version = "1.0">
|
||||||
|
<FileRef
|
||||||
|
location = "group:pass.xcodeproj">
|
||||||
|
</FileRef>
|
||||||
|
<FileRef
|
||||||
|
location = "group:Pods/Pods.xcodeproj">
|
||||||
|
</FileRef>
|
||||||
|
</Workspace>
|
||||||
8
pass.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
Normal file
8
pass.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
|
<plist version="1.0">
|
||||||
|
<dict>
|
||||||
|
<key>IDEDidComputeMac32BitWarning</key>
|
||||||
|
<true/>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue