Use flake8-annotations action patched for Node 20 #17
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: CI | |
on: | |
pull_request: | |
push: | |
branches-ignore: | |
- 'dependabot/**' | |
permissions: | |
contents: read | |
jobs: | |
lint: | |
runs-on: ubuntu-22.04 | |
name: Test | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Nox | |
uses: wntrblm/nox@4c8e89164d90718312e4819a48243797924f55a9 # 2024.03.02 | |
with: | |
python-versions: '3.11, 3.12' | |
- name: setup annotations for flake8 results | |
uses: airtower-luna/flake8-annotations@d29f60162d03c010b8604adc1d5b825c989a9acc # node20 | |
- name: Run tests and linter | |
run: | | |
nox --report test-report.json | |
- name: Run this action on the Nox report from tests | |
if: always() | |
uses: ./ | |
with: | |
report: 'test-report.json' | |
title: Self-test |