From 5b80774d379c19d583d3d04676374f315eef348f Mon Sep 17 00:00:00 2001 From: Niklas Gehlen Date: Mon, 26 Feb 2024 14:11:17 +0100 Subject: [PATCH 1/2] run tests on namespace --- .github/workflows/check-dist.yml | 2 ++ .github/workflows/licensed.yml | 13 +++++++------ .github/workflows/test.yml | 4 +++- 3 files changed, 12 insertions(+), 7 deletions(-) diff --git a/.github/workflows/check-dist.yml b/.github/workflows/check-dist.yml index dec03b65..12f3f277 100644 --- a/.github/workflows/check-dist.yml +++ b/.github/workflows/check-dist.yml @@ -24,6 +24,8 @@ jobs: steps: - uses: actions/checkout@v4 + - run: git submodule update --init actions-toolkit + - name: Setup Node 20 uses: actions/setup-node@v4 with: diff --git a/.github/workflows/licensed.yml b/.github/workflows/licensed.yml index 6c8fe65d..42016552 100644 --- a/.github/workflows/licensed.yml +++ b/.github/workflows/licensed.yml @@ -1,12 +1,13 @@ name: Licensed on: - push: - branches: - - main - pull_request: - branches: - - main + # push: + # branches: + # - main + # pull_request: + # branches: + # - main + workflow_dispatch: jobs: test: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9165e887..9e5b4547 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,7 +16,7 @@ jobs: strategy: matrix: - runs-on: [ubuntu-latest, macos-latest, windows-latest] + runs-on: [namespace-profile-default, namespace-profile-default-arm64, namespace-profile-macos-sm] fail-fast: false runs-on: ${{ matrix.runs-on }} @@ -25,6 +25,8 @@ jobs: - name: Checkout uses: actions/checkout@v4 + - run: git submodule update --init actions-toolkit + - name: Setup Node 20 uses: actions/setup-node@v4 with: From 22f7fc6ca41010966e97502398960397ebab3fc8 Mon Sep 17 00:00:00 2001 From: Niklas Gehlen Date: Mon, 26 Feb 2024 14:15:14 +0100 Subject: [PATCH 2/2] do not use SSH --- .gitmodules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitmodules b/.gitmodules index 69d1f4ad..db891e0b 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,3 @@ [submodule "actions-toolkit"] path = actions-toolkit - url = git@github.com:namespacelabs/actions-toolkit.git + url = https://github.com/namespacelabs/actions-toolkit.git