mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2026-11-04 01:42:26 +03:00
This was the cause of our flake8-your-pr issue! It meant that as well as `--format json` giving JSON output it also got polluted with the raw string of the source line as well.
30 lines
661 B
YAML
30 lines
661 B
YAML
# This workflow will:
|
|
#
|
|
# install Python dependencies
|
|
# Run flake8 to add annotations to the PR
|
|
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
|
|
|
|
name: PR-annotate-flake8
|
|
|
|
on:
|
|
pull_request:
|
|
branches: [ develop ]
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: ubuntu-18.04
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
with:
|
|
fetch-depth: 0
|
|
- name: Set up Python 3.7
|
|
uses: actions/setup-python@v2
|
|
with:
|
|
python-version: 3.7
|
|
- name: Annotate with Flake8
|
|
uses: "tayfun/flake8-your-pr@master"
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|