Skip to content

Commit ce0e665

Browse files
committed
Update CI versions
1 parent ac21b16 commit ce0e665

File tree

4 files changed

+23
-43
lines changed

4 files changed

+23
-43
lines changed

.github/workflows/documentation.yml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -26,21 +26,18 @@ jobs:
2626
name: build
2727
runs-on: ubuntu-latest
2828
steps:
29-
- uses: actions/checkout@v3
29+
- uses: actions/checkout@v4
3030
with:
3131
fetch-depth: 0
32-
- uses: actions/setup-python@v4
32+
- uses: actions/setup-python@v5
3333
with:
34-
python-version: 3.7
34+
python-version: 3.9
3535
- name: Install dependencies
3636
run: |
3737
pip install -r docs/requirements.txt
3838
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
4441
with:
4542
name: html
4643
path: |
@@ -52,9 +49,8 @@ jobs:
5249
needs: [build]
5350
runs-on: ubuntu-latest
5451
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
5854
with:
5955
name: html
6056
path: _build

.github/workflows/fluent.integration.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ jobs:
2828
runs-on: ubuntu-latest
2929
continue-on-error: true
3030
steps:
31-
- uses: actions/checkout@v3
32-
- uses: actions/setup-python@v4
31+
- uses: actions/checkout@v4
32+
- uses: actions/setup-python@v5
3333
with:
34-
python-version: 3.7
34+
python-version: 3.9
3535
- name: Install dependencies
3636
working-directory: ./fluent.runtime
3737
run: |
@@ -40,9 +40,6 @@ jobs:
4040
python -m pip install .
4141
- name: Install latest fluent.syntax
4242
working-directory: ./fluent.syntax
43-
run: |
44-
python -m pip install .
45-
- name: Test
43+
run: python -m pip install .
44+
- run: ./runtests.py
4645
working-directory: ./fluent.runtime
47-
run: |
48-
./runtests.py

.github/workflows/fluent.runtime.yml

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,13 @@ jobs:
4141
python -m pip install --upgrade pip
4242
python -m pip install fluent.syntax==${{ matrix.fluent-syntax }} six
4343
python -m pip install .
44-
- name: Test
44+
- run: ./runtests.py
4545
working-directory: ./fluent.runtime
46-
run: |
47-
./runtests.py
4846
lint:
4947
runs-on: ubuntu-latest
5048
steps:
51-
- uses: actions/checkout@v3
52-
- uses: actions/setup-python@v4
49+
- uses: actions/checkout@v4
50+
- uses: actions/setup-python@v5
5351
with:
5452
python-version: 3.9
5553
- name: Install dependencies
@@ -61,13 +59,8 @@ jobs:
6159
python -m pip install flake8==6 mypy==1 types-babel types-pytz
6260
- name: Install latest fluent.syntax
6361
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
6764
working-directory: ./fluent.runtime
68-
run: |
69-
python -m flake8
70-
- name: mypy
65+
- run: python -m mypy fluent/
7166
working-directory: ./fluent.runtime
72-
run: |
73-
python -m mypy fluent/

.github/workflows/fluent.syntax.yml

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,13 @@ jobs:
3636
python -m pip install wheel
3737
python -m pip install --upgrade pip
3838
python -m pip install .
39-
- name: Test
39+
- run: ./runtests.py
4040
working-directory: ./fluent.syntax
41-
run: |
42-
./runtests.py
4341
lint:
4442
runs-on: ubuntu-latest
4543
steps:
46-
- uses: actions/checkout@v3
47-
- uses: actions/setup-python@v4
44+
- uses: actions/checkout@v4
45+
- uses: actions/setup-python@v5
4846
with:
4947
python-version: 3.9
5048
- name: Install dependencies
@@ -53,11 +51,7 @@ jobs:
5351
python -m pip install --upgrade pip
5452
python -m pip install .
5553
python -m pip install flake8==6 mypy==1
56-
- name: flake8
54+
- run: python -m flake8
5755
working-directory: ./fluent.syntax
58-
run: |
59-
python -m flake8
60-
- name: mypy
56+
- run: python -m mypy fluent/
6157
working-directory: ./fluent.syntax
62-
run: |
63-
python -m mypy fluent/

0 commit comments

Comments
 (0)