diff --git a/.github/workflows/release_rpms.yml b/.github/workflows/release_rpms.yml index 450ff7c4..92b219ec 100644 --- a/.github/workflows/release_rpms.yml +++ b/.github/workflows/release_rpms.yml @@ -126,7 +126,7 @@ jobs: env: AUTOCREATE_RELEASE: ${{ github.event.inputs.autocreate_release }} PREBUILD_TAG: ${{ steps.validate-inputs.outputs.prebuild_suffix }} - uses: actions/github-script@v6 + uses: actions/github-script@v8 with: github-token: ${{ github.event.inputs.target_repo_token || secrets.GITHUB_TOKEN }} script: | @@ -259,7 +259,7 @@ jobs: - name: "Wipe all previous assets from GitHub Release (when clean == 'yes')" if: ${{ github.event.inputs.clean == 'yes' && github.event.inputs.dry_run != 'yes' }} - uses: actions/github-script@v6 + uses: actions/github-script@v8 env: release_id: ${{ steps.release-api.outputs.id }} with: @@ -278,7 +278,7 @@ jobs: - name: "Upload RPM file(s) to GitHub Release (dry_run != 'yes')" if: ${{ github.event.inputs.dry_run != 'yes' }} - uses: actions/github-script@v6 + uses: actions/github-script@v8 env: rpm_file_paths: ${{ steps.build-and-sign-rpm.outputs.rpm_file_paths }} rpm_gpg_file: ${{ steps.build-and-sign-rpm.outputs.rpm_gpg_file }} diff --git a/.github/workflows/tag_deploy_rubygem__github-rpms.yml b/.github/workflows/tag_deploy_rubygem__github-rpms.yml index 924c54a1..c7674d1c 100644 --- a/.github/workflows/tag_deploy_rubygem__github-rpms.yml +++ b/.github/workflows/tag_deploy_rubygem__github-rpms.yml @@ -180,7 +180,7 @@ jobs: - centos8 steps: - name: Trigger RPM release workflow (${{ matrix.os }}) - uses: actions/github-script@v6 + uses: actions/github-script@v8 env: DEFAULT_BRANCH: ${{ github.event.repository.default_branch }} TARGET_TAG: ${{ needs.create-github-release.outputs.tag }} diff --git a/spec/lib/simp/cli/commands/kv/get_spec.rb b/spec/lib/simp/cli/commands/kv/get_spec.rb index 2dff8a79..cb98b103 100644 --- a/spec/lib/simp/cli/commands/kv/get_spec.rb +++ b/spec/lib/simp/cli/commands/kv/get_spec.rb @@ -63,8 +63,7 @@ { "key1": { "value": 1, - "metadata": { - } + "metadata": {} }, "key2": { "value": true, @@ -77,8 +76,7 @@ "hello", "world" ], - "metadata": { - } + "metadata": {} }, "key4": { "value": { @@ -123,8 +121,7 @@ { "key1": { "value": 1, - "metadata": { - } + "metadata": {} }, "key4": { "value": { @@ -158,8 +155,7 @@ { "key1": { "value": 1, - "metadata": { - } + "metadata": {} } } EOM diff --git a/spec/lib/simp/cli/commands/kv/list_spec.rb b/spec/lib/simp/cli/commands/kv/list_spec.rb index 7ac24e07..15e72df6 100644 --- a/spec/lib/simp/cli/commands/kv/list_spec.rb +++ b/spec/lib/simp/cli/commands/kv/list_spec.rb @@ -96,9 +96,7 @@ ] }, "folder2": { - "keys": [ - - ], + "keys": [], "folders": [ "sub2_1", "sub2_2" @@ -109,17 +107,11 @@ "key3_1", "key3_2" ], - "folders": [ - - ] + "folders": [] }, "folder4": { - "keys": [ - - ], - "folders": [ - - ] + "keys": [], + "folders": [] } } EOM @@ -164,12 +156,8 @@ ] }, "folder4": { - "keys": [ - - ], - "folders": [ - - ] + "keys": [], + "folders": [] } } EOM @@ -231,8 +219,7 @@ "keys": { "key1_1": { "value": 1, - "metadata": { - } + "metadata": {} }, "key1_2": { "value": true,