[Snyk] Security upgrade zipp from 3.15.0 to 3.19.1 #781
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: reviewdog | |
on: [pull_request] | |
jobs: | |
reviewdog: | |
name: reviewdog | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install . | |
pip install mypy | |
pip install pylint | |
- name: Setup reviewdog | |
run: | | |
mkdir -p $HOME/bin && curl -sfL https://raw.githubusercontent.com/reviewdog/reviewdog/master/install.sh| sh -s -- -b $HOME/bin | |
echo "$HOME/bin" >> $GITHUB_PATH | |
echo "$(go env GOPATH)/bin" >> $GITHUB_PATH | |
- name: Run reviewdog | |
env: | |
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
reviewdog -runners=mypy -reporter=github-pr-check -conf=.reviewdog.yml | |
reviewdog -runners=pylint -reporter=github-pr-check -conf=.reviewdog.yml |