diff --git a/.github/workflows/workflow-linter.yml b/.github/workflows/workflow-linter.yml index 88eba032..48f14d90 100644 --- a/.github/workflows/workflow-linter.yml +++ b/.github/workflows/workflow-linter.yml @@ -43,15 +43,20 @@ jobs: echo "count=$COUNT" >> $GITHUB_OUTPUT echo "modified-workflows=$MODIFIED_EXISTING_WORKFLOWS" >> $GITHUB_OUTPUT - - name: Download bwwl binary + - name: Set up Python 3.11 + uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0 + with: + python-version: "3.11" + + - name: Upgrade pip and install bwwl binary # if: steps.changed-workflows.outputs.count != 0 run: | - python3 -m pip install --upgrade bitwarden_workflow_linter + python -m pip install --upgrade pip + python -m pip install --upgrade bitwarden_workflow_linter - name: Lint # if: steps.changed-workflows.outputs.count != 0 - run: | - bwwl lint -f ${{ steps.changed-workflows.outputs.modified-workflows }} + run: bwwl lint -f ${{ steps.changed-workflows.outputs.modified-workflows }} - name: Get changed files # if: steps.changed-workflows.outputs.count != 0