chore: Update dependencies, including libavif to 1.0.1 #108
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 | |
on: [push, pull_request] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: reviewdog/action-setup@v1 | |
- name: Set environment variables | |
run: | | |
echo "REPORTER=${{ github.event_name == 'pull_request' && 'github-pr-review' || 'github-check' }}" >> $GITHUB_ENV | |
echo "REVIEWDOG_GITHUB_API_TOKEN=${{ secrets.REVIEWDOG_GITHUB_API_TOKEN }}" >> $GITHUB_ENV | |
echo "REVIEWDOG_TOKEN=${{ secrets.REVIEWDOG_TOKEN }}" >> $GITHUB_ENV | |
- name: clang-format | |
uses: DoozyX/[email protected] | |
with: | |
source: 'src' | |
clangFormatVersion: 14 | |
inplace: True | |
- name: Report clang-format | |
run: | | |
wget http://misc.nalajcie.org/reviewdog -O /tmp/reviewdog 2>/dev/null | |
chmod +x /tmp/reviewdog | |
/tmp/reviewdog -filter-mode=nofilter -f diff -name="clang-format" -f.diff.strip=1 -reporter=${{ env.REPORTER }} | |
git stash -u && git stash drop ||: | |
- name: flake8 | |
uses: reviewdog/action-flake8@v3 | |
with: | |
github_token: ${{ secrets.REVIEWDOG_GITHUB_API_TOKEN }} | |
reporter: ${{ env.REPORTER }} | |
filter_mode: nofilter | |
- name: black | |
uses: reviewdog/action-black@v3 | |
with: | |
github_token: ${{ secrets.REVIEWDOG_GITHUB_API_TOKEN }} | |
reporter: ${{ env.REPORTER }} | |
filter_mode: nofilter | |