File tree Expand file tree Collapse file tree 4 files changed +23
-43
lines changed Expand file tree Collapse file tree 4 files changed +23
-43
lines changed Original file line number Diff line number Diff line change @@ -26,21 +26,18 @@ jobs:
26
26
name : build
27
27
runs-on : ubuntu-latest
28
28
steps :
29
- - uses : actions/checkout@v3
29
+ - uses : actions/checkout@v4
30
30
with :
31
31
fetch-depth : 0
32
- - uses : actions/setup-python@v4
32
+ - uses : actions/setup-python@v5
33
33
with :
34
- python-version : 3.7
34
+ python-version : 3.9
35
35
- name : Install dependencies
36
36
run : |
37
37
pip install -r docs/requirements.txt
38
38
pip install ./fluent.docs
39
- - name : sphinx-build
40
- run : |
41
- ./scripts/build-docs python-fluent
42
- - name : artifact
43
- uses : actions/upload-artifact@v3
39
+ - run : ./scripts/build-docs python-fluent
40
+ - uses : actions/upload-artifact@v4
44
41
with :
45
42
name : html
46
43
path : |
52
49
needs : [build]
53
50
runs-on : ubuntu-latest
54
51
steps :
55
- - uses : actions/checkout@v3
56
- - name : Download artifact
57
- uses : actions/download-artifact@v3
52
+ - uses : actions/checkout@v4
53
+ - uses : actions/download-artifact@v4
58
54
with :
59
55
name : html
60
56
path : _build
Original file line number Diff line number Diff line change @@ -28,10 +28,10 @@ jobs:
28
28
runs-on : ubuntu-latest
29
29
continue-on-error : true
30
30
steps :
31
- - uses : actions/checkout@v3
32
- - uses : actions/setup-python@v4
31
+ - uses : actions/checkout@v4
32
+ - uses : actions/setup-python@v5
33
33
with :
34
- python-version : 3.7
34
+ python-version : 3.9
35
35
- name : Install dependencies
36
36
working-directory : ./fluent.runtime
37
37
run : |
40
40
python -m pip install .
41
41
- name : Install latest fluent.syntax
42
42
working-directory : ./fluent.syntax
43
- run : |
44
- python -m pip install .
45
- - name : Test
43
+ run : python -m pip install .
44
+ - run : ./runtests.py
46
45
working-directory : ./fluent.runtime
47
- run : |
48
- ./runtests.py
Original file line number Diff line number Diff line change @@ -41,15 +41,13 @@ jobs:
41
41
python -m pip install --upgrade pip
42
42
python -m pip install fluent.syntax==${{ matrix.fluent-syntax }} six
43
43
python -m pip install .
44
- - name : Test
44
+ - run : ./runtests.py
45
45
working-directory : ./fluent.runtime
46
- run : |
47
- ./runtests.py
48
46
lint :
49
47
runs-on : ubuntu-latest
50
48
steps :
51
- - uses : actions/checkout@v3
52
- - uses : actions/setup-python@v4
49
+ - uses : actions/checkout@v4
50
+ - uses : actions/setup-python@v5
53
51
with :
54
52
python-version : 3.9
55
53
- name : Install dependencies
61
59
python -m pip install flake8==6 mypy==1 types-babel types-pytz
62
60
- name : Install latest fluent.syntax
63
61
working-directory : ./fluent.syntax
64
- run : |
65
- python -m pip install .
66
- - name : flake8
62
+ run : python -m pip install .
63
+ - run : python -m flake8
67
64
working-directory : ./fluent.runtime
68
- run : |
69
- python -m flake8
70
- - name : mypy
65
+ - run : python -m mypy fluent/
71
66
working-directory : ./fluent.runtime
72
- run : |
73
- python -m mypy fluent/
Original file line number Diff line number Diff line change @@ -36,15 +36,13 @@ jobs:
36
36
python -m pip install wheel
37
37
python -m pip install --upgrade pip
38
38
python -m pip install .
39
- - name : Test
39
+ - run : ./runtests.py
40
40
working-directory : ./fluent.syntax
41
- run : |
42
- ./runtests.py
43
41
lint :
44
42
runs-on : ubuntu-latest
45
43
steps :
46
- - uses : actions/checkout@v3
47
- - uses : actions/setup-python@v4
44
+ - uses : actions/checkout@v4
45
+ - uses : actions/setup-python@v5
48
46
with :
49
47
python-version : 3.9
50
48
- name : Install dependencies
53
51
python -m pip install --upgrade pip
54
52
python -m pip install .
55
53
python -m pip install flake8==6 mypy==1
56
- - name : flake8
54
+ - run : python -m flake8
57
55
working-directory : ./fluent.syntax
58
- run : |
59
- python -m flake8
60
- - name : mypy
56
+ - run : python -m mypy fluent/
61
57
working-directory : ./fluent.syntax
62
- run : |
63
- python -m mypy fluent/
You can’t perform that action at this time.
0 commit comments