ci: update dependency semantic-release to v21 - autoclosed #1158
Workflow file for this run
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 | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
with: | |
fetch-depth: 0 | |
- name: Lint | |
uses: github/[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.10.8 # renovate: python | |
- name: Install Python dependencies | |
run: pip install -r tests/requirements.txt | |
- name: Test | |
run: pytest -v --image ${{ steps.metadata.outputs.tags }} |