Skip to content

Commit

Permalink
Cache only SPM & Track Package.resolved
Browse files Browse the repository at this point in the history
  • Loading branch information
radeknovis committed Jun 7, 2023
1 parent 5b8fc90 commit a41e349
Show file tree
Hide file tree
Showing 4 changed files with 133 additions and 5 deletions.
1 change: 0 additions & 1 deletion .github/actions/build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ runs:
with:
path: |
**/SourcePackagesCache
DerivedDataCache
key: ${{ runner.os }}-spm-${{ hashFiles('**/Package.resolved') }}

- name: Build for testing
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/build_artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,7 @@ jobs:
with:
path: |
**/SourcePackagesCache
DerivedDataCache
key: ${{ runner.os }}-spm-${{ hashFiles('**/Package.resolved') }}
restore-keys: |
${{ runner.os }}-spm-

- name: Build for testing on workflow_dispatch
if: ${{ github.event_name == 'workflow_dispatch' }}
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ xcuserdata/
# Swift Package Manager
Packages/
Package.pins
Package.resolved
/*.xcodeproj

# Fastlane
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,133 @@
{
"object": {
"pins": [
{
"package": "BigInt",
"repositoryURL": "https://github.com/attaswift/BigInt.git",
"state": {
"branch": null,
"revision": "0ed110f7555c34ff468e72e1686e59721f2b0da6",
"version": "5.3.0"
}
},
{
"package": "CryptoSwift",
"repositoryURL": "https://github.com/krzyzanowskim/CryptoSwift.git",
"state": {
"branch": null,
"revision": "eee9ad754926c40a0f7e73f152357d37b119b7fa",
"version": "1.7.1"
}
},
{
"package": "HDWalletKit",
"repositoryURL": "https://github.com/WalletConnect/HDWallet",
"state": {
"branch": "develop",
"revision": "748a85b1dfe9a2fa592bd9266c5a926e4e1d3f44",
"version": null
}
},
{
"package": "PromiseKit",
"repositoryURL": "https://github.com/mxcl/PromiseKit.git",
"state": {
"branch": null,
"revision": "8a98e31a47854d3180882c8068cc4d9381bf382d",
"version": "6.22.1"
}
},
{
"package": "QRCode",
"repositoryURL": "https://github.com/WalletConnect/QRCode",
"state": {
"branch": null,
"revision": "263f280d2c8144adfb0b6676109846cfc8dd552b",
"version": "14.3.1"
}
},
{
"package": "secp256k1",
"repositoryURL": "https://github.com/Boilertalk/secp256k1.swift.git",
"state": {
"branch": null,
"revision": "cd187c632fb812fd93711a9f7e644adb7e5f97f0",
"version": "0.1.7"
}
},
{
"package": "SolanaSwift",
"repositoryURL": "https://github.com/flypaper0/solana-swift",
"state": {
"branch": "feature/available-13",
"revision": "a98811518e0a90c2dfc60c30cfd3ec85c33b6790",
"version": null
}
},
{
"package": "Starscream",
"repositoryURL": "https://github.com/daltoniam/Starscream",
"state": {
"branch": null,
"revision": "a063fda2b8145a231953c20e7a646be254365396",
"version": "3.1.2"
}
},
{
"package": "swift-qrcode-generator",
"repositoryURL": "https://github.com/dagronf/swift-qrcode-generator",
"state": {
"branch": null,
"revision": "5ca09b6a2ad190f94aa3d6ddef45b187f8c0343b",
"version": "1.0.3"
}
},
{
"package": "SwiftImageReadWrite",
"repositoryURL": "https://github.com/dagronf/SwiftImageReadWrite",
"state": {
"branch": null,
"revision": "5596407d1cf61b953b8e658fa8636a471df3c509",
"version": "1.1.6"
}
},
{
"package": "swiftui-async-button",
"repositoryURL": "https://github.com/lorenzofiamingo/swiftui-async-button",
"state": {
"branch": null,
"revision": "9fe9ccddf59c7e4185aa978547fbb9d95236455e",
"version": "1.1.0"
}
},
{
"package": "Task_retrying",
"repositoryURL": "https://github.com/bigearsenal/task-retrying-swift.git",
"state": {
"branch": null,
"revision": "1249b3524378423c848cef39fb220041e00a08ec",
"version": "1.0.4"
}
},
{
"package": "TweetNacl",
"repositoryURL": "https://github.com/bitmark-inc/tweetnacl-swiftwrap.git",
"state": {
"branch": null,
"revision": "f8fd111642bf2336b11ef9ea828510693106e954",
"version": "1.1.0"
}
},
{
"package": "Web3",
"repositoryURL": "https://github.com/WalletConnect/Web3.swift",
"state": {
"branch": null,
"revision": "569255adcfff0b37e4cb8004aea29d0e2d6266df",
"version": "1.0.2"
}
}
]
},
"version": 1
}

0 comments on commit a41e349

Please sign in to comment.