From 76b333a203cbd7deff61d930c3c38c64cab645f5 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 8 Feb 2024 04:58:48 +0000 Subject: [PATCH] Update nick-fields/assert-action action to v2 --- .github/workflows/test-matrix-2-levels.yml | 6 +++--- .github/workflows/test-matrix-3-levels.yml | 6 +++--- .github/workflows/test-positive.yml | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/test-matrix-2-levels.yml b/.github/workflows/test-matrix-2-levels.yml index 9bb65c2..1e2ca0b 100644 --- a/.github/workflows/test-matrix-2-levels.yml +++ b/.github/workflows/test-matrix-2-levels.yml @@ -36,18 +36,18 @@ jobs: runs-on: ubuntu-latest needs: [test] steps: - - uses: nick-fields/assert-action@v1 + - uses: nick-fields/assert-action@v2 with: expected: '[{"component":"test-2","stack":"core-ue2-auto","stack_slug":"core-ue2-auto-test-2"},{"component":"test-4","stack":"plat-ue2-dev","stack_slug":"plat-ue2-dev-test-4"},{"component":"test-5","stack":"plat-ue2-sandbox","stack_slug":"plat-ue2-sandbox-test-5"}]' actual: "${{ needs.test.outputs.selected-components }}" - - uses: nick-fields/assert-action@v1 + - uses: nick-fields/assert-action@v2 with: expected: '{"include":[' actual: "${{ needs.test.outputs.matrix }}" comparison: contains - - uses: nick-fields/assert-action@v1 + - uses: nick-fields/assert-action@v2 with: expected: '{"include":[{"name":"core-auto","items":"{\"include\":[{\"component\":\"test-2\",\"stack\":\"core-ue2-auto\",\"stack_slug\":\"core-ue2-auto-test-2\"}]}"},{"name":"plat-dev","items":"{\"include\":[{\"component\":\"test-4\",\"stack\":\"plat-ue2-dev\",\"stack_slug\":\"plat-ue2-dev-test-4\"}]}"},{"name":"plat-sandbox","items":"{\"include\":[{\"component\":\"test-5\",\"stack\":\"plat-ue2-sandbox\",\"stack_slug\":\"plat-ue2-sandbox-test-5\"}]}"}]}' actual: "${{ needs.test.outputs.matrix }}" diff --git a/.github/workflows/test-matrix-3-levels.yml b/.github/workflows/test-matrix-3-levels.yml index 43626e5..b68cca5 100644 --- a/.github/workflows/test-matrix-3-levels.yml +++ b/.github/workflows/test-matrix-3-levels.yml @@ -37,18 +37,18 @@ jobs: runs-on: ubuntu-latest needs: [test] steps: - - uses: nick-fields/assert-action@v1 + - uses: nick-fields/assert-action@v2 with: expected: '[{"component":"test-2","stack":"core-ue2-auto","stack_slug":"core-ue2-auto-test-2"},{"component":"test-4","stack":"plat-ue2-dev","stack_slug":"plat-ue2-dev-test-4"},{"component":"test-5","stack":"plat-ue2-sandbox","stack_slug":"plat-ue2-sandbox-test-5"}]' actual: "${{ needs.test.outputs.selected-components }}" - - uses: nick-fields/assert-action@v1 + - uses: nick-fields/assert-action@v2 with: expected: '{"include":[' actual: "${{ needs.test.outputs.matrix }}" comparison: contains - - uses: nick-fields/assert-action@v1 + - uses: nick-fields/assert-action@v2 with: expected: '{"include":[{"name":"core-auto","items":"{\"include\":[{\"name\":\"core-ue2-auto-test-2 - core-ue2-auto-test-2\",\"items\":\"{\\\"include\\\":[{\\\"component\\\":\\\"test-2\\\",\\\"stack\\\":\\\"core-ue2-auto\\\",\\\"stack_slug\\\":\\\"core-ue2-auto-test-2\\\"}]}\"}]}"},{"name":"plat-dev","items":"{\"include\":[{\"name\":\"plat-ue2-dev-test-4 - plat-ue2-dev-test-4\",\"items\":\"{\\\"include\\\":[{\\\"component\\\":\\\"test-4\\\",\\\"stack\\\":\\\"plat-ue2-dev\\\",\\\"stack_slug\\\":\\\"plat-ue2-dev-test-4\\\"}]}\"}]}"},{"name":"plat-sandbox","items":"{\"include\":[{\"name\":\"plat-ue2-sandbox-test-5 - plat-ue2-sandbox-test-5\",\"items\":\"{\\\"include\\\":[{\\\"component\\\":\\\"test-5\\\",\\\"stack\\\":\\\"plat-ue2-sandbox\\\",\\\"stack_slug\\\":\\\"plat-ue2-sandbox-test-5\\\"}]}\"}]}"}]}' actual: "${{ needs.test.outputs.matrix }}" diff --git a/.github/workflows/test-positive.yml b/.github/workflows/test-positive.yml index 2c7f5d3..514bea0 100644 --- a/.github/workflows/test-positive.yml +++ b/.github/workflows/test-positive.yml @@ -35,18 +35,18 @@ jobs: runs-on: ubuntu-latest needs: [test] steps: - - uses: nick-fields/assert-action@v1 + - uses: nick-fields/assert-action@v2 with: expected: '[{"component":"test-1","stack":"core-ue2-auto","stack_slug":"core-ue2-auto-test-1"},{"component":"test-2","stack":"core-ue2-auto","stack_slug":"core-ue2-auto-test-2"},{"component":"test-3","stack":"plat-ue2-dev","stack_slug":"plat-ue2-dev-test-3"},{"component":"test-4","stack":"plat-ue2-dev","stack_slug":"plat-ue2-dev-test-4"},{"component":"test-5","stack":"plat-ue2-sandbox","stack_slug":"plat-ue2-sandbox-test-5"}]' actual: "${{ needs.test.outputs.selected-components }}" - - uses: nick-fields/assert-action@v1 + - uses: nick-fields/assert-action@v2 with: expected: '{"include":[' actual: "${{ needs.test.outputs.matrix }}" comparison: contains - - uses: nick-fields/assert-action@v1 + - uses: nick-fields/assert-action@v2 with: expected: '{"include":[{"name":"core-auto","items":"{\"include\":[{\"component\":\"test-1\",\"stack\":\"core-ue2-auto\",\"stack_slug\":\"core-ue2-auto-test-1\"},{\"component\":\"test-2\",\"stack\":\"core-ue2-auto\",\"stack_slug\":\"core-ue2-auto-test-2\"}]}"},{"name":"plat-dev","items":"{\"include\":[{\"component\":\"test-3\",\"stack\":\"plat-ue2-dev\",\"stack_slug\":\"plat-ue2-dev-test-3\"},{\"component\":\"test-4\",\"stack\":\"plat-ue2-dev\",\"stack_slug\":\"plat-ue2-dev-test-4\"}]}"},{"name":"plat-sandbox","items":"{\"include\":[{\"component\":\"test-5\",\"stack\":\"plat-ue2-sandbox\",\"stack_slug\":\"plat-ue2-sandbox-test-5\"}]}"}]}' actual: "${{ needs.test.outputs.matrix }}"