Skip to content

Commit

Permalink
ci: add dependencies
Browse files Browse the repository at this point in the history
Signed-off-by: Lenin Mehedy <lenin.mehedy@swirldslabs.com>
  • Loading branch information
leninmehedy committed Jan 26, 2024
1 parent d4851c8 commit fc7ff7d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 8 deletions.
20 changes: 12 additions & 8 deletions .github/workflows/flow-pull-request-checks.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
##
# Copyright (C) 2023 Hedera Hashgraph, LLC
# Copyright (C) 2023-2024 Hedera Hashgraph, LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -32,13 +32,6 @@ concurrency:
cancel-in-progress: true

jobs:
build:
name: Code
uses: ./.github/workflows/zxc-compile-code.yaml
secrets:
gradle-cache-username: ${{ secrets.GRADLE_CACHE_USERNAME }}
gradle-cache-password: ${{ secrets.GRADLE_CACHE_PASSWORD }}

spotless:
name: Spotless
uses: ./.github/workflows/zxc-compile-code.yaml
Expand All @@ -49,9 +42,20 @@ jobs:
gradle-cache-username: ${{ secrets.GRADLE_CACHE_USERNAME }}
gradle-cache-password: ${{ secrets.GRADLE_CACHE_PASSWORD }}

# build:
# name: Code
# uses: ./.github/workflows/zxc-compile-code.yaml
# needs:
# - spotless
# secrets:
# gradle-cache-username: ${{ secrets.GRADLE_CACHE_USERNAME }}
# gradle-cache-password: ${{ secrets.GRADLE_CACHE_PASSWORD }}

unit-tests:
name: FST Java Unit Tests
uses: ./.github/workflows/zxc-compile-code.yaml
needs:
- spotless
with:
custom-job-label: Standard
enable-unit-tests: true
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/zxc-compile-code.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ jobs:

- name: Setup Node
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
if: ${{ !cancelled() && !failure() }}
with:
node-version: ${{ inputs.node-version }}

Expand Down

0 comments on commit fc7ff7d

Please sign in to comment.