11name : CI
2- # Run on main , tags, or any pull request
2+ # Run on master , tags, or any pull request
33on :
4- schedule :
5- - cron : ' 0 2 * * *' # Daily at 2 AM UTC (8 PM CST)
64 push :
7- branches : [main ]
8- tags : ["*" ]
5+ branches : [master ]
6+ tags : ['*' ]
97 pull_request :
8+ workflow_dispatch :
109concurrency :
1110 # Skip intermediate builds: always.
1211 # Cancel intermediate builds: only if it is a pull request build.
@@ -16,57 +15,41 @@ jobs:
1615 test :
1716 name : Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }}
1817 runs-on : ${{ matrix.os }}
18+ timeout-minutes : 60
19+ permissions : # needed to allow julia-actions/cache to proactively delete old caches that it has created
20+ actions : write
21+ contents : read
1922 strategy :
2023 fail-fast : false
2124 matrix :
2225 version :
23- - " 1.0 " # LTS
24- - " 1 " # Latest Release
26+ - ' lts '
27+ - ' 1 ' # Latest Release
2528 os :
2629 - ubuntu-latest
27- - macOS-latest
30+ - macos-13 # Intel
2831 - windows-latest
2932 arch :
3033 - x64
3134 - x86
3235 exclude :
3336 # Test 32-bit only on Linux
34- - os : macOS-latest
37+ - os : macos-13
3538 arch : x86
3639 - os : windows-latest
3740 arch : x86
38- include :
39- # Add specific version used to run the reference tests.
40- # Must be kept in sync with version check in `test/runtests.jl`,
41- # and with the branch protection rules on the repository which
42- # require this specific job to pass on all PRs
43- # (see Settings > Branches > Branch protection rules).
44- - os : ubuntu-latest
45- version : 1.7.2
46- arch : x64
4741 steps :
48- - uses : actions/checkout@v2
49- - uses : julia-actions/setup-julia@v1
42+ - uses : actions/checkout@v4
43+ - uses : julia-actions/setup-julia@v2
5044 with :
5145 version : ${{ matrix.version }}
5246 arch : ${{ matrix.arch }}
53- - uses : actions/cache@v2
54- env :
55- cache-name : cache-artifacts
56- with :
57- path : ~/.julia/artifacts
58- key : ${{ runner.os }}-${{ matrix.arch }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
59- restore-keys : |
60- ${{ runner.os }}-${{ matrix.arch }}-test-${{ env.cache-name }}-
61- ${{ runner.os }}-${{ matrix.arch }}-test-
62- ${{ runner.os }}-${{ matrix.arch }}-
63- ${{ runner.os }}-
64- - uses : julia-actions/julia-buildpkg@latest
65- - run : |
66- git config --global user.name Tester
67- git config --global user.email [email protected] 68- - uses : julia-actions/julia-runtest@latest
47+ - uses : julia-actions/cache@v2
48+ - uses : julia-actions/julia-buildpkg@v1
49+ - uses : julia-actions/julia-runtest@v1
6950 - uses : julia-actions/julia-processcoverage@v1
70- - uses : codecov/codecov-action@v2
51+ - uses : codecov/codecov-action@v5
7152 with :
7253 files : lcov.info
54+ token : ${{ secrets.CODECOV_TOKEN }}
55+ fail_ci_if_error : false
0 commit comments