@@ -13,26 +13,15 @@ jobs:
1313 runs-on : macos-14
1414 steps :
1515 - name : Checkout
16- uses : actions/checkout@v4
16+ uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
1717 with :
1818 fetch-depth : 0
1919
2020 - name : Set up Go
21- uses : actions/setup-go@v5
21+ uses : actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0
2222 with :
2323 go-version-file : go.mod
24-
25- - name : Set up xcode
26- uses : maxim-lobanov/setup-xcode@v1
27- with :
28- xcode-version : latest-stable
29-
30- - name : Set up gomobile
31- run : |
32- go install golang.org/x/mobile/cmd/gomobile@latest
33- go install golang.org/x/mobile/cmd/gobind@latest
34- go get -u golang.org/x/mobile/bind
35-
24+
3625 - name : Build WASM
3726 run : |
3827 go run ./rootfetch/main.go -o client/trusted_root.json
@@ -50,18 +39,29 @@ jobs:
5039 cp wasm/tinfoil-verifier-*.wasm public/
5140 cp wasm/tinfoil-verifier-*.wasm public/tinfoil-verifier.wasm
5241
42+ - name : Set up xcode
43+ uses : maxim-lobanov/setup-xcode@60606e260d2fc5762a71e64e74b2174e8ea3c8bd # v1.6.0
44+ with :
45+ xcode-version : latest-stable
46+
47+ - name : Set up gomobile
48+ run : |
49+ go install golang.org/x/mobile/cmd/gomobile@v0.0.0-20251209145715-2553ed8ce294
50+ go install golang.org/x/mobile/cmd/gobind@v0.0.0-20251209145715-2553ed8ce294
51+ go get -u golang.org/x/mobile/bind@v0.0.0-20251209145715-2553ed8ce294
52+
5353 - name : gomobile bind
5454 run : |
5555 gomobile bind -target=ios,iossimulator,macos -o TinfoilVerifier.xcframework $(go list ./... | grep -v -E "/examples/|/rootfetch|/wasm" | xargs)
5656 zip -ry TinfoilVerifier.xcframework.zip TinfoilVerifier.xcframework
5757
5858 - name : Deploy to GH pages
59- uses : JamesIves/github-pages-deploy-action@v4
59+ uses : JamesIves/github-pages-deploy-action@d92aa235d04922e8f08b40ce78cc5442fcfbfa2f # v4.8.0
6060 with :
6161 folder : public
6262
6363 - name : Release
64- uses : softprops/action-gh-release@v2
64+ uses : softprops/action-gh-release@a06a81a03ee405af7f2048a818ed3f03bbf83c7b # v2.5.0
6565 with :
6666 files : |
6767 TinfoilVerifier.xcframework.zip
0 commit comments