File tree Expand file tree Collapse file tree 7 files changed +68
-55
lines changed Expand file tree Collapse file tree 7 files changed +68
-55
lines changed Original file line number Diff line number Diff line change @@ -10,12 +10,12 @@ jobs:
1010 runs-on : ubuntu-latest
1111
1212 steps :
13- - uses : actions/checkout@v2.2.0
13+ - uses : actions/checkout@v4
1414
1515 - name : Set up Julia
16- uses : julia-actions/setup-julia@latest
16+ uses : julia-actions/setup-julia@v1
1717 with :
18- version : 1.9
18+ version : ' 1.10 '
1919
2020 - name : Test with coverage
2121 env :
3333 if : success()
3434
3535 - name : Submit coverage
36- uses : codecov/codecov-action@v1.0.7
36+ uses : codecov/codecov-action@v2
3737 with :
3838 token : ${{secrets.CODECOV_TOKEN}}
3939 if : success()
Original file line number Diff line number Diff line change 99 runs-on : ubuntu-latest
1010 steps :
1111 - name : Checkout gh-pages branch
12- uses : actions/checkout@v2
12+ uses : actions/checkout@v4
1313 with :
1414 ref : gh-pages
1515
Original file line number Diff line number Diff line change 77 tags : ' *'
88 pull_request :
99
10+ concurrency :
11+ group : ${{ github.workflow }}-${{ github.ref }}
12+ cancel-in-progress : true
13+
1014jobs :
1115 docbuild :
1216 runs-on : ubuntu-latest
1317 steps :
14- - uses : actions/checkout@v2
15- - uses : julia-actions/setup-julia@latest
18+ - uses : actions/checkout@v4
19+ - uses : julia-actions/setup-julia@v1
1620 with :
17- version : 1.9
21+ version : ' 1.10 '
1822 - name : Install dependencies
19- run : julia --project=docs -e 'using Pkg; Pkg.instantiate(;verbose=true )'
23+ run : julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate( )'
2024 - name : Build and deploy
2125 env :
22- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
23- DOCUMENTER_KEY : ${{ secrets.DOCUMENTER_KEY }}
24- run : julia --project=docs docs/make.jl
26+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} # For authentication with GitHub Actions token
27+ DOCUMENTER_KEY : ${{ secrets.DOCUMENTER_KEY }} # For authentication with SSH deploy key
28+ run : julia --project=docs/ docs/make.jl
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ name : ci
2+ on :
3+ push :
4+ tags : ' *'
5+ pull_request :
6+
7+ concurrency :
8+ group : ${{ github.workflow }}-${{ github.ref }}
9+ cancel-in-progress : true
10+
11+ jobs :
12+ test :
13+ name : ci ${{ matrix.version }} - ${{ matrix.os }}
14+ runs-on : ${{ matrix.os }}
15+ strategy :
16+ fail-fast : false
17+ matrix :
18+ version :
19+ - ' 1.10'
20+ os :
21+ - ubuntu-latest
22+ - macOS-latest
23+ arch :
24+ - x64
25+ steps :
26+ - uses : actions/checkout@v4
27+ - uses : julia-actions/setup-julia@v1
28+ with :
29+ version : ${{ matrix.version }}
30+ arch : ${{ matrix.arch }}
31+ - uses : actions/cache@v1
32+ env :
33+ cache-name : cache-artifacts
34+ with :
35+ path : ~/.julia/artifacts
36+ key : ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
37+ restore-keys : |
38+ ${{ runner.os }}-test-${{ env.cache-name }}-
39+ ${{ runner.os }}-test-
40+ ${{ runner.os }}-
41+ - uses : julia-actions/julia-buildpkg@v1
42+ - uses : julia-actions/julia-runtest@v1
43+ - uses : julia-actions/julia-processcoverage@v1
44+ - uses : codecov/codecov-action@v1
45+ with :
46+ file : lcov.info
47+ token : ${{secrets.CODECOV_TOKEN}}
Original file line number Diff line number Diff line change 1515 with :
1616 access_token : ${{ github.token }}
1717
18- - uses : actions/checkout@v2.2.0
18+ - uses : actions/checkout@v4
1919
20202121 id : filter
@@ -24,10 +24,10 @@ jobs:
2424 julia_file_change:
2525 - added|modified: '**.jl'
2626
27- - uses : julia-actions/setup-julia@latest
27+ - uses : julia-actions/setup-julia@v1
2828 if : steps.filter.outputs.julia_file_change == 'true'
2929 with :
30- version : ' 1.9 '
30+ version : ' 1.10 '
3131
3232 - name : Apply JuliaFormatter
3333 if : steps.filter.outputs.julia_file_change == 'true'
Original file line number Diff line number Diff line change 1313[ docs-dev-img ] : https://img.shields.io/badge/docs-dev-blue.svg
1414[ docs-dev-url ] : https://CliMA.github.io/ClimaTimeSteppers.jl/dev/
1515
16- [ gha-ci-img ] : https://github.com/CliMA/ClimaTimeSteppers.jl/actions/workflows/UnitTests .yml/badge.svg
17- [ gha-ci-url ] : https://github.com/CliMA/ClimaTimeSteppers.jl/actions/workflows/UnitTests .yml
16+ [ gha-ci-img ] : https://github.com/CliMA/ClimaTimeSteppers.jl/actions/workflows/ci .yml/badge.svg
17+ [ gha-ci-url ] : https://github.com/CliMA/ClimaTimeSteppers.jl/actions/workflows/ci .yml
1818
1919[ codecov-img ] : https://codecov.io/gh/CliMA/ClimaTimeSteppers.jl/branch/main/graph/badge.svg
2020[ codecov-url ] : https://codecov.io/gh/CliMA/ClimaTimeSteppers.jl
You can’t perform that action at this time.
0 commit comments