@@ -15,32 +15,34 @@ jobs:
15
15
runs-on : ubuntu-latest
16
16
strategy :
17
17
matrix :
18
- python-version : ["3.8", "3.9", "3.10", "3.11", "3.12"]
18
+ python-version : [ "3.8", "3.9", "3.10", "3.11", "3.12" ]
19
19
steps :
20
- - uses : actions/checkout@v4
21
- - name : Setup Go environment
22
- uses : actions/setup-go@v5
23
- with :
24
- go-version : ' 1.22'
25
- - name : Setup Java JDK
26
- uses : actions/setup-java@v4
27
- with :
28
- distribution : temurin
29
- java-version : 22
30
- cache : maven
31
- - name : Set up Python
32
- uses : actions/setup-python@v5
33
- with :
34
- python-version : ${{ matrix.python-version }}
35
- allow-prereleases : true
36
- check-latest : true
37
- - name : Install dependencies
38
- run : |
39
- sudo apt install libmaxminddb0 libmaxminddb-dev
40
- python -m pip install --upgrade pip
41
- pip install tox
42
- - name : Test
43
- run : tox -e py
44
- - name : Lint
45
- if : matrix.python-version == '3.12'
46
- run : tox -e lint
20
+ - uses : actions/checkout@v4
21
+ - name : Setup Go environment
22
+ uses : actions/setup-go@v5
23
+ with :
24
+ go-version : ' 1.22'
25
+ cache-dependency-path : tests/clients/go/go.sum
26
+ - name : Setup Java JDK
27
+ uses : actions/setup-java@v4
28
+ with :
29
+ distribution : temurin
30
+ java-version : 22
31
+ cache : maven
32
+ cache-dependency-path : tests/clients/java/pom.xml
33
+ - name : Set up Python
34
+ uses : actions/setup-python@v5
35
+ with :
36
+ python-version : ${{ matrix.python-version }}
37
+ allow-prereleases : true
38
+ check-latest : true
39
+ - name : Install dependencies
40
+ run : |
41
+ sudo apt install libmaxminddb0 libmaxminddb-dev
42
+ python -m pip install --upgrade pip
43
+ pip install tox
44
+ - name : Test
45
+ run : tox -e py
46
+ - name : Lint
47
+ if : matrix.python-version == '3.12'
48
+ run : tox -e lint
0 commit comments