This repository was archived by the owner on Apr 1, 2026. It is now read-only.
chore(deps): update dependency pygithub to v2.8.1 #684
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Tests | |
| on: | |
| pull_request: | |
| jobs: | |
| unit-tests: | |
| uses: canonical/operator-workflows/.github/workflows/test.yaml@main | |
| secrets: inherit | |
| with: | |
| self-hosted-runner: true | |
| self-hosted-runner-label: "edge" | |
| look-for-outdated-code: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Install dependencies | |
| run: | | |
| sudo apt update && sudo apt install python3-pip | |
| pip3 install pyupgrade refurb | |
| - name: Check for any code improvements | |
| run: | | |
| PYTHON_FILES=$(find . -name '*.py') | |
| pyupgrade --py311-plus $PYTHON_FILES | |
| refurb $PYTHON_FILES |