Skip to content

Commit 549f651

Browse files
authored
fix: updates to scaffold (#3330)
1 parent 4141ac2 commit 549f651

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

scripts/utils/templates/workflow.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ jobs:
4444
steps:
4545
- id: set
4646
run: |
47-
echo 'os=${{ github.event_name == 'push' && '["ubuntu-latest"]' || env.TEST_MATRIX_OS }}' >> $GITHUB_OUTPUT
48-
echo 'python-version=${{ github.event_name == 'push' && '["3.10"]' || env.TEST_MATRIX_PYTHON }}' >> $GITHUB_OUTPUT
47+
echo 'os=${{ github.event_name == 'push' && '["ubuntu-latest"]' || env.TEST_MATRIX_OS }}' >> "$GITHUB_OUTPUT"
48+
echo 'python-version=${{ github.event_name == 'push' && '["3.10"]' || env.TEST_MATRIX_PYTHON }}' >> "$GITHUB_OUTPUT"
4949
5050
run:
5151
name: Python ${{ matrix.python-version }} on ${{ startsWith(matrix.os, 'macos-') && 'macOS' || startsWith(matrix.os, 'windows-') && 'Windows' || 'Linux' }}
@@ -86,7 +86,7 @@ jobs:
8686
- name: Store unit tests coverage
8787
id: coverage_comment
8888
if: matrix.python-version == '3.10' && runner.os == 'Linux' && github.event_name != 'schedule'
89-
uses: py-cov-action/python-coverage-comment-action@7188638f871f721a365d644f505d1ff3df20d683 # v3.40
89+
uses: py-cov-action/python-coverage-comment-action@63f52f4fbbffada6e8dee8ec432de7e01df9ba79 # v3.41
9090
with:
9191
GITHUB_TOKEN: ${{ github.token }}
9292
COVERAGE_PATH: integrations/$name
@@ -96,7 +96,7 @@ jobs:
9696

9797
- name: Upload coverage comment to be posted
9898
if: matrix.python-version == '3.10' && runner.os == 'Linux' && github.event_name == 'pull_request' && steps.coverage_comment.outputs.COMMENT_FILE_WRITTEN == 'true'
99-
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
99+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
100100
with:
101101
name: coverage-comment-$name
102102
path: python-coverage-comment-action-$name.txt
@@ -106,7 +106,7 @@ jobs:
106106

107107
- name: Store combined coverage
108108
if: github.event_name == 'push'
109-
uses: py-cov-action/python-coverage-comment-action@7188638f871f721a365d644f505d1ff3df20d683 # v3.40
109+
uses: py-cov-action/python-coverage-comment-action@63f52f4fbbffada6e8dee8ec432de7e01df9ba79 # v3.41
110110
with:
111111
GITHUB_TOKEN: ${{ github.token }}
112112
COVERAGE_PATH: integrations/$name

0 commit comments

Comments
 (0)