Skip to content

Commit

Permalink
Update github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Imperiopolis committed Aug 14, 2024
1 parent 4fa7a20 commit fe40986
Show file tree
Hide file tree
Showing 9 changed files with 36 additions and 259 deletions.
3 changes: 0 additions & 3 deletions .github/actions/software-realm/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ inputs:
start-realm-count:
description: How many jb-sw-realm should be started after the binary is installed. By default, no realms are started.
default: "0"
token:
description: The authorization token for accessing private git repos.
ref:
description: The ref for the software realm repo
outputs:
Expand All @@ -23,7 +21,6 @@ runs:
uses: actions/checkout@v3
with:
repository: 'juicebox-systems/juicebox-software-realm'
token: ${{ inputs.token }}
path: 'juicebox-software-realm'
ref: ${{ inputs.ref }}

Expand Down
1 change: 0 additions & 1 deletion .github/workflows/android.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ jobs:
- uses: actions/checkout@v3
with:
submodules: recursive
token: ${{ secrets.ACCESS_TOKEN }}

- name: Set up JDK 11
uses: actions/setup-java@v3
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/audit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,3 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: rustsec/audit-check@v1.4.1
with:
token: ${{ secrets.GITHUB_TOKEN }}
3 changes: 0 additions & 3 deletions .github/workflows/demos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ jobs:
uses: ./.github/actions/software-realm
with:
start-realm-count: 25
token: ${{ secrets.ACCESS_TOKEN }}

- name: Run Rust Demo
run: target/debug/demo --configuration ${{ steps.software-realm.outputs.configuration }} --auth-tokens ${{ steps.software-realm.outputs.auth-tokens }}
Expand Down Expand Up @@ -80,7 +79,6 @@ jobs:
uses: ./.github/actions/software-realm
with:
start-realm-count: 25
token: ${{ secrets.ACCESS_TOKEN }}

- name: Run Swift Demo
run: swift/demo/.build/debug/demo -c ${{ steps.software-realm.outputs.configuration }} -a ${{ steps.software-realm.outputs.auth-tokens }}
Expand Down Expand Up @@ -124,7 +122,6 @@ jobs:
uses: ./.github/actions/software-realm
with:
start-realm-count: 25
token: ${{ secrets.ACCESS_TOKEN }}

- name: Run WASM Demo
run: javascript/demo/demo.ts -c ${{ steps.software-realm.outputs.configuration }} -a ${{ steps.software-realm.outputs.auth-tokens }}
214 changes: 0 additions & 214 deletions .github/workflows/documentation.yaml

This file was deleted.

6 changes: 4 additions & 2 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,10 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Install Swiftlint
run: |
brew install swiftlint
- name: Lint
run: swiftlint lint --strict --reporter github-actions-logging
working-directory: swift
Expand Down Expand Up @@ -134,8 +138,6 @@ jobs:

- name: Software Realm
uses: ./.github/actions/software-realm
with:
token: ${{ secrets.ACCESS_TOKEN }}

- name: Run software realm integration tests
uses: actions-rs/cargo@v1
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ jobs:
- uses: actions/checkout@v3
with:
submodules: recursive
token: ${{ secrets.ACCESS_TOKEN }}

- name: Build juicebox_sdk_jni
run: |
Expand Down Expand Up @@ -96,7 +95,6 @@ jobs:
- uses: actions/checkout@v3
with:
submodules: recursive
token: ${{ secrets.ACCESS_TOKEN }}

- name: Build juicebox_sdk_ffi
run: |
Expand Down
2 changes: 1 addition & 1 deletion swift/Sources/JuiceboxSdk/Client.swift
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ let httpSend: JuiceboxHttpSendFn = { context, requestPointer, responseCallback i
}.resume()
}

let authTokenGet: JuiceboxAuthTokenGetFn = { context, contextId, realmId, callback -> Void in
let authTokenGet: JuiceboxAuthTokenGetFn = { context, contextId, realmId, callback in
guard let callback = callback, let realmId = realmId else { return }

guard let fetchFn = Client.fetchAuthTokenCallback else {
Expand Down
Loading

0 comments on commit fe40986

Please sign in to comment.