-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix calling actions in external re-usable workflows (#51)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
10fdf4a
commit 79ec5f6
Showing
8 changed files
with
33 additions
and
14 deletions.
There are no files selected for viewing
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
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
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
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
File renamed without changes.
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,13 +22,19 @@ name: Check schema | |
on: [push] | ||
|
||
jobs: | ||
|
||
check-schema: | ||
uses: Lightning-AI/utilities/.github/workflows/check-schema.yml@main | ||
uses: Lightning-AI/utilities/.github/workflows/[email protected] | ||
with: | ||
azure-dir: "" # skip Azure check | ||
|
||
check-code: | ||
uses: Lightning-AI/utilities//.github/workflows/check-code.yml@main | ||
with: | ||
azure-dir: "" | ||
actions-ref: main # normally you shall use the same version as the workflow | ||
``` | ||
See usage of other workflows in [.github/workflows/ci_use-checks.yml](https://github.com/Lightning-AI/utilities/tree/main/.github/workflows/ci_use-checks.yml). | ||
See usage of other workflows in [.github/workflows/ci-use-checks.yml](https://github.com/Lightning-AI/utilities/tree/main/.github/workflows/ci-use-checks.yml). | ||
## 2. Reusable composite actions | ||
|
@@ -52,8 +58,7 @@ jobs: | |
- uses: Lightning-AI/utilities/.github/actions/cache | ||
with: | ||
python-version: 3.9 | ||
requires: oldest | ||
# requires: latest | ||
requires: oldest # or latest | ||
``` | ||
## 3. CLI `lightning_utilities.cli` | ||
|