From 43673e1e0308dd18f965c93395dfc0a83782f1a0 Mon Sep 17 00:00:00 2001 From: Badisi Date: Wed, 10 Jul 2024 16:45:19 +0200 Subject: [PATCH] ci: upgrade to dsi-hug action v2 --- .github/workflows/ci_release.yml | 8 +++++--- .github/workflows/ci_test_core.yml | 4 +++- .github/workflows/ci_test_date-picker.yml | 4 +++- .github/workflows/ci_test_layout.yml | 4 +++- .github/workflows/ci_test_list-loader.yml | 4 +++- .github/workflows/ci_test_message-box-dialog.yml | 4 +++- .github/workflows/ci_test_message-box.yml | 4 +++- .github/workflows/ci_test_numeric-stepper.yml | 4 +++- .github/workflows/ci_test_overlay.yml | 4 +++- .github/workflows/ci_test_search-container.yml | 4 +++- .github/workflows/ci_test_sidenav.yml | 4 +++- .github/workflows/ci_test_snackbar.yml | 4 +++- .github/workflows/ci_test_splitter.yml | 4 +++- .github/workflows/ci_test_status.yml | 4 +++- .github/workflows/ci_test_time-picker.yml | 4 +++- .github/workflows/ci_test_tooltip.yml | 4 +++- .github/workflows/ci_test_user-card.yml | 4 +++- .github/workflows/ci_test_user-tooltip.yml | 4 +++- .../.github/workflows/ci_test__ciName__.yml.template | 4 +++- 19 files changed, 59 insertions(+), 21 deletions(-) diff --git a/.github/workflows/ci_release.yml b/.github/workflows/ci_release.yml index 5eee942c..342581bb 100644 --- a/.github/workflows/ci_release.yml +++ b/.github/workflows/ci_release.yml @@ -38,13 +38,15 @@ env: jobs: ci_release: - uses: dsi-hug/action/.github/workflows/action.yml@v1 + uses: dsi-hug/actions/.github/workflows/action.yml@v2 secrets: - GH_USER_NAME: 'dsi-hug-bot' - GH_USER_EMAIL: 'dsi-hug-bot@users.noreply.github.com' + GIT_USER_NAME: 'dsi-hug-bot' + GIT_USER_EMAIL: 'dsi-hug-bot@users.noreply.github.com' GH_TOKEN: ${{ secrets.DSI_HUG_BOT_GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.DSI_HUG_NPM_TOKEN }} with: working-directory: ${{ (inputs.package == '-- all --') && '.' || format('projects/{0}', inputs.package) }} dry-run: ${{ inputs.dry-run }} + lint: true + test: true release: true diff --git a/.github/workflows/ci_test_core.yml b/.github/workflows/ci_test_core.yml index 367527ef..55ed7a19 100644 --- a/.github/workflows/ci_test_core.yml +++ b/.github/workflows/ci_test_core.yml @@ -17,11 +17,13 @@ concurrency: jobs: ci_test_core: - uses: dsi-hug/action/.github/workflows/action.yml@v1 + uses: dsi-hug/actions/.github/workflows/action.yml@v2 with: working-directory: projects/core runs-on: '["ubuntu-latest", "macos-latest", "windows-latest"]' node-versions: '[18, 20]' + lint: true + test: true # # Not needed here because it will be triggered by `ci_test_sidenav` diff --git a/.github/workflows/ci_test_date-picker.yml b/.github/workflows/ci_test_date-picker.yml index 0dd29217..625b48b2 100644 --- a/.github/workflows/ci_test_date-picker.yml +++ b/.github/workflows/ci_test_date-picker.yml @@ -18,8 +18,10 @@ concurrency: jobs: ci_test_date-picker: - uses: dsi-hug/action/.github/workflows/action.yml@v1 + uses: dsi-hug/actions/.github/workflows/action.yml@v2 with: working-directory: projects/date-picker runs-on: '["ubuntu-latest", "macos-latest", "windows-latest"]' node-versions: '[18, 20]' + lint: true + test: true diff --git a/.github/workflows/ci_test_layout.yml b/.github/workflows/ci_test_layout.yml index ad25519d..dd02181c 100644 --- a/.github/workflows/ci_test_layout.yml +++ b/.github/workflows/ci_test_layout.yml @@ -18,8 +18,10 @@ concurrency: jobs: ci_test_layout: - uses: dsi-hug/action/.github/workflows/action.yml@v1 + uses: dsi-hug/actions/.github/workflows/action.yml@v2 with: working-directory: projects/layout runs-on: '["ubuntu-latest", "macos-latest", "windows-latest"]' node-versions: '[18, 20]' + lint: true + test: true diff --git a/.github/workflows/ci_test_list-loader.yml b/.github/workflows/ci_test_list-loader.yml index 7ad7b769..5fe5f97d 100644 --- a/.github/workflows/ci_test_list-loader.yml +++ b/.github/workflows/ci_test_list-loader.yml @@ -17,8 +17,10 @@ concurrency: jobs: ci_test_list-loader: - uses: dsi-hug/action/.github/workflows/action.yml@v1 + uses: dsi-hug/actions/.github/workflows/action.yml@v2 with: working-directory: projects/list-loader runs-on: '["ubuntu-latest", "macos-latest", "windows-latest"]' node-versions: '[18, 20]' + lint: true + test: true diff --git a/.github/workflows/ci_test_message-box-dialog.yml b/.github/workflows/ci_test_message-box-dialog.yml index 5ac15084..ee68c796 100644 --- a/.github/workflows/ci_test_message-box-dialog.yml +++ b/.github/workflows/ci_test_message-box-dialog.yml @@ -18,8 +18,10 @@ concurrency: jobs: ci_test_message-box-dialog: - uses: dsi-hug/action/.github/workflows/action.yml@v1 + uses: dsi-hug/actions/.github/workflows/action.yml@v2 with: working-directory: projects/message-box-dialog runs-on: '["ubuntu-latest", "macos-latest", "windows-latest"]' node-versions: '[18, 20]' + lint: true + test: true diff --git a/.github/workflows/ci_test_message-box.yml b/.github/workflows/ci_test_message-box.yml index 034f7978..9c7e3327 100644 --- a/.github/workflows/ci_test_message-box.yml +++ b/.github/workflows/ci_test_message-box.yml @@ -17,11 +17,13 @@ concurrency: jobs: ci_test_message-box: - uses: dsi-hug/action/.github/workflows/action.yml@v1 + uses: dsi-hug/actions/.github/workflows/action.yml@v2 with: working-directory: projects/message-box runs-on: '["ubuntu-latest", "macos-latest", "windows-latest"]' node-versions: '[18, 20]' + lint: true + test: true ci_test_status: needs: ci_test_message-box diff --git a/.github/workflows/ci_test_numeric-stepper.yml b/.github/workflows/ci_test_numeric-stepper.yml index 96d9646a..1daa639a 100644 --- a/.github/workflows/ci_test_numeric-stepper.yml +++ b/.github/workflows/ci_test_numeric-stepper.yml @@ -18,11 +18,13 @@ concurrency: jobs: ci_test_numeric-stepper: - uses: dsi-hug/action/.github/workflows/action.yml@v1 + uses: dsi-hug/actions/.github/workflows/action.yml@v2 with: working-directory: projects/numeric-stepper runs-on: '["ubuntu-latest", "macos-latest", "windows-latest"]' node-versions: '[18, 20]' + lint: true + test: true ci_test_time-picker: needs: ci_test_numeric-stepper diff --git a/.github/workflows/ci_test_overlay.yml b/.github/workflows/ci_test_overlay.yml index fb1f5040..3fb0a5d7 100644 --- a/.github/workflows/ci_test_overlay.yml +++ b/.github/workflows/ci_test_overlay.yml @@ -18,8 +18,10 @@ concurrency: jobs: ci_test_overlay: - uses: dsi-hug/action/.github/workflows/action.yml@v1 + uses: dsi-hug/actions/.github/workflows/action.yml@v2 with: working-directory: projects/overlay runs-on: '["ubuntu-latest", "macos-latest", "windows-latest"]' node-versions: '[18, 20]' + lint: true + test: true diff --git a/.github/workflows/ci_test_search-container.yml b/.github/workflows/ci_test_search-container.yml index 68883dcf..a5a95748 100644 --- a/.github/workflows/ci_test_search-container.yml +++ b/.github/workflows/ci_test_search-container.yml @@ -18,8 +18,10 @@ concurrency: jobs: ci_test_search-container: - uses: dsi-hug/action/.github/workflows/action.yml@v1 + uses: dsi-hug/actions/.github/workflows/action.yml@v2 with: working-directory: projects/search-container runs-on: '["ubuntu-latest", "macos-latest", "windows-latest"]' node-versions: '[18, 20]' + lint: true + test: true diff --git a/.github/workflows/ci_test_sidenav.yml b/.github/workflows/ci_test_sidenav.yml index c8c6b887..1eeea345 100644 --- a/.github/workflows/ci_test_sidenav.yml +++ b/.github/workflows/ci_test_sidenav.yml @@ -18,11 +18,13 @@ concurrency: jobs: ci_test_sidenav: - uses: dsi-hug/action/.github/workflows/action.yml@v1 + uses: dsi-hug/actions/.github/workflows/action.yml@v2 with: working-directory: projects/sidenav runs-on: '["ubuntu-latest", "macos-latest", "windows-latest"]' node-versions: '[18, 20]' + lint: true + test: true ci_test_layout: needs: ci_test_sidenav diff --git a/.github/workflows/ci_test_snackbar.yml b/.github/workflows/ci_test_snackbar.yml index 11ccb160..cb78ad3e 100644 --- a/.github/workflows/ci_test_snackbar.yml +++ b/.github/workflows/ci_test_snackbar.yml @@ -18,11 +18,13 @@ concurrency: jobs: ci_test_snackbar: - uses: dsi-hug/action/.github/workflows/action.yml@v1 + uses: dsi-hug/actions/.github/workflows/action.yml@v2 with: working-directory: projects/snackbar runs-on: '["ubuntu-latest", "macos-latest", "windows-latest"]' node-versions: '[18, 20]' + lint: true + test: true ci_test_status: needs: ci_test_snackbar diff --git a/.github/workflows/ci_test_splitter.yml b/.github/workflows/ci_test_splitter.yml index 67bad89a..3bc358a5 100644 --- a/.github/workflows/ci_test_splitter.yml +++ b/.github/workflows/ci_test_splitter.yml @@ -18,8 +18,10 @@ concurrency: jobs: ci_test_splitter: - uses: dsi-hug/action/.github/workflows/action.yml@v1 + uses: dsi-hug/actions/.github/workflows/action.yml@v2 with: working-directory: projects/splitter runs-on: '["ubuntu-latest", "macos-latest", "windows-latest"]' node-versions: '[18, 20]' + lint: true + test: true diff --git a/.github/workflows/ci_test_status.yml b/.github/workflows/ci_test_status.yml index 54996dbb..9c330e29 100644 --- a/.github/workflows/ci_test_status.yml +++ b/.github/workflows/ci_test_status.yml @@ -18,8 +18,10 @@ concurrency: jobs: ci_test_status: - uses: dsi-hug/action/.github/workflows/action.yml@v1 + uses: dsi-hug/actions/.github/workflows/action.yml@v2 with: working-directory: projects/status runs-on: '["ubuntu-latest", "macos-latest", "windows-latest"]' node-versions: '[18, 20]' + lint: true + test: true diff --git a/.github/workflows/ci_test_time-picker.yml b/.github/workflows/ci_test_time-picker.yml index 381b067c..bd295686 100644 --- a/.github/workflows/ci_test_time-picker.yml +++ b/.github/workflows/ci_test_time-picker.yml @@ -18,8 +18,10 @@ concurrency: jobs: ci_test_time-picker: - uses: dsi-hug/action/.github/workflows/action.yml@v1 + uses: dsi-hug/actions/.github/workflows/action.yml@v2 with: working-directory: projects/time-picker runs-on: '["ubuntu-latest", "macos-latest", "windows-latest"]' node-versions: '[18, 20]' + lint: true + test: true diff --git a/.github/workflows/ci_test_tooltip.yml b/.github/workflows/ci_test_tooltip.yml index 183f8d64..22d4a903 100644 --- a/.github/workflows/ci_test_tooltip.yml +++ b/.github/workflows/ci_test_tooltip.yml @@ -18,11 +18,13 @@ concurrency: jobs: ci_test_tooltip: - uses: dsi-hug/action/.github/workflows/action.yml@v1 + uses: dsi-hug/actions/.github/workflows/action.yml@v2 with: working-directory: projects/tooltip runs-on: '["ubuntu-latest", "macos-latest", "windows-latest"]' node-versions: '[18, 20]' + lint: true + test: true ci_test_user-tooltip: needs: ci_test_tooltip diff --git a/.github/workflows/ci_test_user-card.yml b/.github/workflows/ci_test_user-card.yml index 6826b3d2..debca852 100644 --- a/.github/workflows/ci_test_user-card.yml +++ b/.github/workflows/ci_test_user-card.yml @@ -18,11 +18,13 @@ concurrency: jobs: ci_test_user-card: - uses: dsi-hug/action/.github/workflows/action.yml@v1 + uses: dsi-hug/actions/.github/workflows/action.yml@v2 with: working-directory: projects/user-card runs-on: '["ubuntu-latest", "macos-latest", "windows-latest"]' node-versions: '[18, 20]' + lint: true + test: true ci_test_user-tooltip: needs: ci_test_user-card diff --git a/.github/workflows/ci_test_user-tooltip.yml b/.github/workflows/ci_test_user-tooltip.yml index 4637c2ed..5bfe4d58 100644 --- a/.github/workflows/ci_test_user-tooltip.yml +++ b/.github/workflows/ci_test_user-tooltip.yml @@ -18,8 +18,10 @@ concurrency: jobs: ci_test_user-tooltip: - uses: dsi-hug/action/.github/workflows/action.yml@v1 + uses: dsi-hug/actions/.github/workflows/action.yml@v2 with: working-directory: projects/user-tooltip runs-on: '["ubuntu-latest", "macos-latest", "windows-latest"]' node-versions: '[18, 20]' + lint: true + test: true diff --git a/scripts/new-package/files/workspace/.github/workflows/ci_test__ciName__.yml.template b/scripts/new-package/files/workspace/.github/workflows/ci_test__ciName__.yml.template index 2551c6fc..0ff76840 100644 --- a/scripts/new-package/files/workspace/.github/workflows/ci_test__ciName__.yml.template +++ b/scripts/new-package/files/workspace/.github/workflows/ci_test__ciName__.yml.template @@ -18,8 +18,10 @@ concurrency: jobs: ci_test_<%= libName %>: - uses: dsi-hug/action/.github/workflows/action.yml@v1 + uses: dsi-hug/actions/.github/workflows/action.yml@v2 with: working-directory: projects/<%= libName %> runs-on: '["ubuntu-latest", "macos-latest", "windows-latest"]' node-versions: '[18, 20]' + lint: true + test: true