Bump google-cloud-pubsub from 2.34.0 to 2.35.0 #1108
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: Pylint | |
| on: [push, pull_request] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.11"] | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v3 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| # 1. Install Poetry using the official helper action | |
| - name: Install Poetry | |
| uses: snok/install-poetry@v1 | |
| with: | |
| version: latest | |
| virtualenvs-create: true | |
| virtualenvs-in-project: true | |
| # 2. Install dependencies (including Pylint from your dev group) | |
| - name: Install dependencies | |
| run: poetry install --no-interaction | |
| # 3. Run Pylint inside the poetry environment | |
| - name: Analysing the code with pylint | |
| run: | | |
| # Use 'poetry run' to access the virtual env tools | |
| # Targeting the directory 'transcoder' is cleaner than git ls-files | |
| poetry run pylint transcoder --fail-under=10 |