Commit a861488 1 parent bae2b21 commit a861488 Copy full SHA for a861488
File tree 2 files changed +33
-13
lines changed
2 files changed +33
-13
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ name : Lint
3
+
4
+ on : # yamllint disable-line rule:truthy
5
+ push : null
6
+ pull_request : null
7
+
8
+ permissions : {}
9
+
10
+ jobs :
11
+ build :
12
+ name : Lint
13
+ runs-on : ubuntu-latest
14
+
15
+ permissions :
16
+ contents : read
17
+ packages : read
18
+ # To report GitHub Actions status checks
19
+ statuses : write
20
+
21
+ steps :
22
+ - name : Checkout code
23
+ uses : actions/checkout@v4
24
+ with :
25
+ # super-linter needs the full git history to get the
26
+ # list of files that changed across commits
27
+ fetch-depth : 0
28
+
29
+ - name : Super-linter
30
+ uses :
super-linter/[email protected] # x-release-please-version
31
+ env :
32
+ # To report GitHub Actions status checks
33
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 10
10
build :
11
11
runs-on : ubuntu-latest
12
12
13
- permissions :
14
- contents : read
15
- packages : read
16
- statuses : write
17
-
18
13
strategy :
19
14
max-parallel : 4
20
15
matrix :
23
18
steps :
24
19
- name : Checkout code
25
20
uses : actions/checkout@v4
26
- with :
27
- fetch-depth : 0
28
21
29
22
- name : Set up Python ${{ matrix.python-version }}
30
23
uses : actions/setup-python@v3
36
29
python -m pip install --upgrade pip
37
30
pip install -r requirements/base.txt
38
31
39
- - name : Run Linter
40
- uses :
super-linter/[email protected]
41
- env :
42
- # To report GitHub Actions status checks
43
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
44
-
45
32
- name : Run Tests
46
33
run : |
47
34
python manage.py test
You can’t perform that action at this time.
0 commit comments