Skip to content

Commit

Permalink
Switched to cached LFS workflows to reduce bandwidth impact
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmicro committed Apr 2, 2023
1 parent 5df7a08 commit 078dbaa
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 7 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/test-EMULATOR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ jobs:
build-configuration: [Debug, Release]
steps:
- name: Checkout repository and submodules
uses: actions/checkout@v3
# uses: actions/checkout@v3 # incompatible with git lfs cache bandwidth calcs (https://github.com/actions/checkout/issues/165)
uses: nschloe/[email protected]
with:
submodules: recursive
- name: Update packages
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/test-FEATURE.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ jobs:
if: ${{ needs.check_skip.outputs.should_skip != 'true' }}
steps:
- name: Checkout repository and submodules
uses: actions/checkout@v3
# uses: actions/checkout@v3 # incompatible with git lfs cache bandwidth calcs (https://github.com/actions/checkout/issues/165)
uses: nschloe/[email protected]
with:
submodules: recursive
- id: get-flag
Expand All @@ -51,7 +52,8 @@ jobs:
language: ${{ fromJson(needs.Find-feature.outputs.default_language) }}
steps:
- name: Checkout repository and submodules
uses: actions/checkout@v3
# uses: actions/checkout@v3 # incompatible with git lfs cache bandwidth calcs (https://github.com/actions/checkout/issues/165)
uses: nschloe/[email protected]
with:
submodules: recursive
- name: Cache pip
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/test-OS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository and submodules
uses: actions/checkout@v3
# uses: actions/checkout@v3 # incompatible with git lfs cache bandwidth calcs (https://github.com/actions/checkout/issues/165)
uses: nschloe/[email protected]
with:
submodules: recursive
- uses: dorny/[email protected]
Expand Down Expand Up @@ -44,7 +45,8 @@ jobs:
language: ${{ fromJson(needs.Find-feature.outputs.get-languages) }}
steps:
- name: Checkout repository and submodules
uses: actions/checkout@v3
# uses: actions/checkout@v3 # incompatible with git lfs cache bandwidth calcs (https://github.com/actions/checkout/issues/165)
uses: nschloe/action-cached-lfs-checkout@v
with:
submodules: recursive
- name: Cache pip
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/test-OSW.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ jobs:
if: ${{ needs.check_skip.outputs.should_skip != 'true' }}
steps:
- name: Checkout repository and submodules
uses: actions/checkout@v3
# uses: actions/checkout@v3 # incompatible with git lfs cache bandwidth calcs (https://github.com/actions/checkout/issues/165)
uses: nschloe/[email protected]
with:
submodules: recursive
- uses: dorny/[email protected]
Expand Down Expand Up @@ -57,7 +58,8 @@ jobs:
build-configuration: [debug, release]
steps:
- name: Checkout repository and submodules
uses: actions/checkout@v3
# uses: actions/checkout@v3 # incompatible with git lfs cache bandwidth calcs (https://github.com/actions/checkout/issues/165)
uses: nschloe/[email protected]
with:
submodules: recursive
- name: Cache pip
Expand Down

0 comments on commit 078dbaa

Please sign in to comment.