Update dependency rpds-py to v0.22.3 #638
This file contains 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: CI | |
on: | |
push: | |
branches: [ master ] | |
# Publish semver tags as releases. | |
tags: [ 'v*.*.*' ] | |
paths-ignore: | |
- '.github/**' | |
- '.gitattributes' | |
- '.gitignore' | |
- '**/*.md' | |
- 'LICENSE' | |
- 'renovate.json' | |
pull_request: | |
branches: [ master ] | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.head_ref || github.ref_name }} | |
cancel-in-progress: true | |
jobs: | |
lint-and-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python 3.8 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.8 | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install flake8 pylint pylint-exit pytest | |
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi | |
- name: Setup flake8 annotations | |
uses: rbialon/flake8-annotations@v1 | |
- name: Add pylint annotator | |
uses: pr-annotators/[email protected] | |
- name: Lint with flake8 and pylint | |
run: | | |
flake8 . | |
pylint PlexAniSync.py TautulliSyncHelper.py ./plexanisync || pylint-exit --error-fail --warn-fail $? | |
- run: pytest | |
build-docker-plexanisync: | |
needs: lint-and-test | |
uses: ./.github/workflows/build-docker-image.yml | |
with: | |
dockerfile: ./Docker/PlexAniSync/Dockerfile | |
imagename: ${{ github.repository_owner }}/plexanisync | |
eventname: ${{ github.event_name }} | |
platforms: linux/amd64,linux/arm/v7,linux/arm64 | |
secrets: inherit | |
build-docker-tautulli: | |
needs: build-docker-plexanisync | |
uses: ./.github/workflows/build-docker-image.yml | |
with: | |
dockerfile: ./Docker/Tautulli/Dockerfile | |
imagename: ${{ github.repository_owner }}/tautulli-plexanisync | |
eventname: ${{ github.event_name }} | |
platforms: linux/amd64,linux/arm/v7,linux/arm64 | |
secrets: inherit |