ci: update renovatebot/github-action action to v41 #1507
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: Lint and Test | |
on: pull_request | |
permissions: read-all | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
with: | |
fetch-depth: 0 | |
- name: Lint | |
uses: super-linter/[email protected] | |
env: | |
DEFAULT_BRANCH: main | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
VALIDATE_ALL_CODEBASE: false | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
with: | |
fetch-depth: 0 | |
- name: Generate metadata | |
id: metadata | |
uses: docker/[email protected] | |
with: | |
images: ghcr.io/${{ github.repository_owner }}/pytest | |
- name: Build | |
uses: docker/[email protected] | |
with: | |
tags: ${{ steps.metadata.outputs.tags }} | |
labels: ${{ steps.metadata.outputs.labels }} | |
- name: Set up Python | |
uses: actions/[email protected] | |
with: | |
python-version: 3.13.0 # renovate: python | |
- name: Install Python dependencies | |
run: pip install -r tests/requirements.txt | |
- name: Test | |
run: pytest -v --image ${{ steps.metadata.outputs.tags }} |