@@ -12,59 +12,53 @@ concurrency:
1212 group : ${{ github.workflow }}-${{ github.ref }}
1313 cancel-in-progress : ${{ startsWith(github.ref, 'refs/pull/') }}
1414
15+ # needed to allow julia-actions/cache to delete old caches that it has created
16+ permissions :
17+ actions : write
18+ contents : read
19+
1520jobs :
1621 test :
17- name : Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }}
22+ name : Julia ${{ matrix.version }} - ${{ matrix.os }}
1823 runs-on : ${{ matrix.os }}
19- continue-on-error : ${{ matrix.version == 'nightly ' }}
24+ continue-on-error : ${{ matrix.version == 'pre ' }}
2025 strategy :
2126 matrix :
2227 version :
23- - ' 1.6'
28+ - ' min'
29+ - ' lts'
2430 - ' 1'
25- - ' nightly '
31+ - ' pre '
2632 os :
2733 - ubuntu-latest
34+ - macOS-latest
2835 - windows-latest
29- arch :
30- - x64
3136 steps :
32- - uses : actions/checkout@v2
37+ - uses : actions/checkout@v4
3338 - name : Install python
34- uses : actions/setup-python@v2
39+ uses : actions/setup-python@v5
3540 with :
36- python-version : ' 3.9'
37- architecture : ${{ matrix.arch }}
41+ python-version : ' 3.13'
3842 - run : python -m pip install pot
39- - uses : julia-actions/setup-julia@v1
43+ - uses : julia-actions/setup-julia@v2
4044 with :
4145 version : ${{ matrix.version }}
42- arch : ${{ matrix.arch }}
43- - uses : actions/cache@v1
44- env :
45- cache-name : cache-artifacts
46- with :
47- path : ~/.julia/artifacts
48- key : ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
49- restore-keys : |
50- ${{ runner.os }}-test-${{ env.cache-name }}-
51- ${{ runner.os }}-test-
52- ${{ runner.os }}-
53- - uses : julia-actions/julia-buildpkg@latest
54- - uses : julia-actions/julia-runtest@latest
46+ - uses : julia-actions/cache@v2
47+ - uses : julia-actions/julia-buildpkg@v1
48+ - uses : julia-actions/julia-runtest@v1
5549 with :
5650 coverage : ${{ matrix.version == '1' && matrix.os == 'ubuntu-latest' }}
5751 env :
5852 PYTHON : python
5953 GROUP : OptimalTransport
6054 - uses : julia-actions/julia-processcoverage@v1
6155 if : matrix.version == '1' && matrix.os == 'ubuntu-latest'
62- - uses : codecov/codecov-action@v2
56+ - uses : codecov/codecov-action@v5
6357 if : matrix.version == '1' && matrix.os == 'ubuntu-latest'
6458 with :
65- file : lcov.info
66- - uses : coverallsapp/github-action@master
59+ files : lcov.info
60+ - uses : coverallsapp/github-action@v2
6761 if : matrix.version == '1' && matrix.os == 'ubuntu-latest'
6862 with :
6963 github-token : ${{ secrets.GITHUB_TOKEN }}
70- path-to-lcov : lcov.info
64+ file : lcov.info
0 commit comments