Bump golang.org/x/crypto from 0.9.0 to 0.17.0 in /components/bifrost #642
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Mobile and Java build | |
on: | |
pull_request: | |
types: [ labeled, opened, reopened, synchronize ] | |
env: | |
GO_VERSION: "1.20" | |
GOFLAGS: -mod=readonly | |
jobs: | |
build: | |
if: contains(github.event.pull_request.labels.*.name, 'mobile') || contains(github.event.pull_request.labels.*.name, 'java') | |
name: Mobile and Java build | |
runs-on: macos-12 | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
- name: Setup Golang with cache | |
uses: magnetikonline/action-golang-cache@v4 | |
with: | |
go-version: ${{ env.GO_VERSION }} | |
- name: Setup Java | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'zulu' | |
java-version: '17' | |
check-latest: true | |
# - name: Setup upterm session | |
# uses: lhotari/action-upterm@v1 | |
# with: | |
# ## limits ssh access and adds the ssh public key for the user which triggered the workflow | |
# limit-access-to-actor: true | |
- name: Setup gomobile | |
working-directory: experimental/java | |
run: | | |
make install-gomobile | |
- name: Build plain java library | |
working-directory: experimental/java | |
run: | | |
make java | |
./mvnw install | |
- name: Build spring library | |
working-directory: experimental/spring | |
run: | | |
./mvnw install -Pdarwin | |
- name: Build android framework | |
working-directory: experimental/mobile | |
run: | | |
make android | |
- name: Build android example | |
working-directory: experimental/mobile/examples/android-nasp | |
run: | | |
./gradlew build | |
- name: Build ios framework | |
working-directory: experimental/mobile | |
run: | | |
make ios | |
- name: Build ios example | |
working-directory: experimental/mobile/examples/ios-nasp | |
run: | | |
xcodebuild clean build CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO |