Skip to content

Commit

Permalink
install nsc
Browse files Browse the repository at this point in the history
  • Loading branch information
trajan0x committed Jul 18, 2024
1 parent d880a87 commit a37c385
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:

test:
name: Go Coverage
runs-on: ${{ matrix.platform }}
runs-on: namespace-profile-default-coverage-runner # ${{ matrix.platform }}
if: ${{ needs.changes.outputs.package_count_deps > 0 && (github.event_name != 'push' || github.ref == format('refs/heads/{0}', github.event.repository.default_branch)) }}
needs: changes
strategy:
Expand Down Expand Up @@ -105,7 +105,15 @@ jobs:
run:
working-directory: ${{ matrix.package }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
if: ${{ !contains(runner.name, 'nsc') }}
with:
fetch-depth: 2
submodules: 'recursive'

- name: Checkout with Namespace Git mirrors cache
uses: namespacelabs/nscloud-checkout-action@v5
if: ${{ contains(runner.name, 'nsc') }}
with:
fetch-depth: 2
submodules: 'recursive'
Expand Down
1 change: 1 addition & 0 deletions core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,4 @@ root
├── <a href="./testsuite">testsuite</a>: Provides a wrapper around testify/suite.
├── <a href="./threaditer">threaditer</a>: Provides a thread-safe generic iterator for a slice.
</pre>

0 comments on commit a37c385

Please sign in to comment.