Skip to content

Commit

Permalink
update cache apt
Browse files Browse the repository at this point in the history
  • Loading branch information
MacOMNI committed Aug 30, 2024
1 parent 0a3da9e commit 9c5fbf6
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 22 deletions.
15 changes: 0 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,21 +31,6 @@ jobs:
uses: actions/checkout@v4
with:
submodules: recursive
- name: Cache APT lists
uses: actions/cache@v4
with:
path: /var/lib/apt/lists
key: ${{ runner.os }}-apt-lists-${{ hashFiles('Networking/Sources/msquic/**') }}
restore-keys: |
${{ runner.os }}-apt-lists-
- name: Cache APT packages
uses: actions/cache@v4
with:
path: /var/cache/apt
key: ${{ runner.os }}-apt-${{ hashFiles('Networking/Sources/msquic/**') }}
restore-keys: |
${{ runner.os }}-apt-
- name: MsQuic Install Dependencies
run: |
export DEBIAN_FRONTEND=noninteractive
Expand Down
24 changes: 24 additions & 0 deletions Networking/Package.resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"originHash" : "bd5f3f85ebdcb8bf9b1a06c34f5ca494e0d3d3a581cbea4b4d5f75d13d2b0bf1",
"pins" : [
{
"identity" : "swift-syntax",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-syntax.git",
"state" : {
"revision" : "515f79b522918f83483068d99c68daeb5116342d",
"version" : "600.0.0-prerelease-2024-08-20"
}
},
{
"identity" : "swift-testing",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-testing.git",
"state" : {
"branch" : "0.10.0",
"revision" : "69d59cfc76e5daf498ca61f5af409f594768eef9"
}
}
],
"version" : 3
}
4 changes: 0 additions & 4 deletions Networking/Sources/Networking/msquic/Alpn.swift
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,4 @@ struct Alpn {
}
)
}

var rawValuePointer: UnsafePointer<QuicBuffer> {
withUnsafePointer(to: rawValue) { $0 }
}
}
4 changes: 1 addition & 3 deletions Networking/Tests/NetworkingTests/QuicApiTest.swift
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import Testing
#if os(Linux)
// need to check
#elseif os(macOS)
#if os(macOS)
import CoreFoundation
import Security
#endif
Expand Down

0 comments on commit 9c5fbf6

Please sign in to comment.