Skip to content

Commit

Permalink
Update nick-fields/assert-action action to v2
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored Feb 7, 2024
1 parent 26c0e69 commit 016c3f6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test-jq-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
chmod +x /opt/hostedtoolcache/jq/jq
echo "version=$(jq --version)" >> $GITHUB_OUTPUT
- uses: nick-fields/assert-action@v1
- uses: nick-fields/assert-action@v2
with:
expected: 'jq-1.5'
actual: ${{ steps.base.outputs.version }}
Expand All @@ -54,18 +54,18 @@ jobs:
jq --version
echo "version=$(jq --version)" >> $GITHUB_OUTPUT
- uses: nick-fields/assert-action@v1
- uses: nick-fields/assert-action@v2
with:
expected: 'jq-1.6'
actual: ${{ steps.new.outputs.version }}


- uses: nick-fields/assert-action@v1
- uses: nick-fields/assert-action@v2
with:
expected: '["preview","qa2"]'
actual: ${{ steps.current.outputs.deploy_envs }}

- uses: nick-fields/assert-action@v1
- uses: nick-fields/assert-action@v2
with:
expected: '["qa1","qa3","qa4"]'
actual: ${{ steps.current.outputs.destroy_envs }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-pr-closed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ jobs:
labels: '[ "deploy", "deploy/qa2" ]'
open: false

- uses: nick-fields/assert-action@v1
- uses: nick-fields/assert-action@v2
with:
expected: '[]'
actual: ${{ steps.current.outputs.deploy_envs }}

- uses: nick-fields/assert-action@v1
- uses: nick-fields/assert-action@v2
with:
expected: '["preview","qa2"]'
actual: ${{ steps.current.outputs.destroy_envs }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-pr-opened.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ jobs:
labels: '["deploy","deploy/qa2"]'
open: 'true'

- uses: nick-fields/assert-action@v1
- uses: nick-fields/assert-action@v2
with:
expected: '["preview","qa2"]'
actual: ${{ steps.current.outputs.deploy_envs }}

- uses: nick-fields/assert-action@v1
- uses: nick-fields/assert-action@v2
with:
expected: '["qa1","qa3","qa4"]'
actual: ${{ steps.current.outputs.destroy_envs }}
Expand Down

0 comments on commit 016c3f6

Please sign in to comment.