-
-
Notifications
You must be signed in to change notification settings - Fork 294
34 lines (31 loc) · 1.26 KB
/
syntax.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
################################################################################
# Copyright (c) 2021 ContinualAI. #
# Copyrights licensed under the MIT License. #
# See the accompanying LICENSE file for terms. #
# #
# Date: 28-01-2021 #
# Author(s): Gabriele Graffieti #
# E-mail: [email protected] #
# Website: avalanche.continualai.org #
################################################################################
name: syntax checking
# This workflow is triggered on pushes to the repository.
on:
push:
paths:
- '**.py'
pull_request:
paths:
- '**.py'
jobs:
check:
name: check_syntax
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/setup-python@v2
with:
python-version: 3.10
- uses: cclauss/Find-Python-syntax-errors-action@master