File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,14 +2,17 @@ name: lint
22on :
33 pull_request :
44
5+ permissions :
6+ contents : read
7+
58jobs :
69 flake8 :
710 runs-on : ubuntu-latest
811 steps :
9- - uses : actions/checkout@v2
10- - uses : actions/setup-python@v2
12+ - uses : actions/checkout@v6
13+ - uses : actions/setup-python@v6
1114 with :
12- python-version : 3.9
15+ python-version : " 3.10 "
1316
1417 - uses : TrueBrain/actions-flake8@v2
1518 with :
Original file line number Diff line number Diff line change 66 branches :
77 - main
88
9+ permissions :
10+ contents : read
11+
912jobs :
1013 test :
1114 runs-on : ubuntu-latest
1215 steps :
13- - uses : actions/checkout@v2
14- - uses : actions/setup-python@v1
15- with :
16- python-version : 3.9
16+ - uses : actions/checkout@v6
17+ - uses : actions/setup-python@v6
18+ with :
19+ python-version : " 3.10 "
1720
18- - name : Install dependencies
19- run : |
20- python -m pip install --upgrade pip
21- pip install -r requirements.txt -r requirements-dev.txt
21+ - name : Install dependencies
22+ run : |
23+ python -m pip install --upgrade pip
24+ pip install -r requirements.txt -r requirements-dev.txt
2225
23- - run : pip install pytest-github-actions-annotate-failures
26+ - run : pip install pytest-github-actions-annotate-failures
2427
25- - run : py.test --cov=rain_api_core --cov-report=term-missing --cov-report=xml --cov-branch --doctest-modules rain_api_core tests
28+ - run : py.test --cov=rain_api_core --cov-report=term-missing --cov-report=xml --cov-branch --doctest-modules rain_api_core tests
2629
27- - name : Report coverage
28- uses : codecov/codecov-action@v4
29- with :
30- token : ${{ secrets.CODECOV_TOKEN }}
31- fail_ci_if_error : true
30+ - name : Report coverage
31+ uses : codecov/codecov-action@v6
32+ with :
33+ token : ${{ secrets.CODECOV_TOKEN }}
34+ fail_ci_if_error : true
You can’t perform that action at this time.
0 commit comments