Skip to content

Commit

Permalink
set up python version
Browse files Browse the repository at this point in the history
  • Loading branch information
Eeebru committed Nov 8, 2024
1 parent 11b9d0d commit ac24774
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/workflow-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ac24774

Please sign in to comment.