Skip to content

Commit

Permalink
Merge pull request #716 from CliMA/gb/update_ghaction
Browse files Browse the repository at this point in the history
Update GitHub action workflows
  • Loading branch information
Sbozzolo authored Aug 5, 2024
2 parents 5197e47 + b590db9 commit ac57809
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 52 deletions.
41 changes: 0 additions & 41 deletions .github/workflows/CodeCov.yml

This file was deleted.

17 changes: 6 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,22 +25,17 @@ jobs:
- x64
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v1
- uses: julia-actions/setup-julia@v2
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- uses: actions/cache@v4
env:
cache-name: cache-artifacts
with:
path: ~/.julia/artifacts
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
restore-keys: |
${{ runner.os }}-test-${{ env.cache-name }}-
${{ runner.os }}-test-
${{ runner.os }}-
- uses: julia-actions/cache@v2
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
- uses: julia-actions/julia-processcoverage@v1
with:
file: lcov.info
- uses: codecov/codecov-action@v4
with:
file: lcov.info
token: ${{secrets.CODECOV_TOKEN}}
1 change: 1 addition & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
- uses: julia-actions/setup-julia@latest
with:
version: '1.10'
- uses: julia-actions/cache@v2
- name: Install dependencies
run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate(); Pkg.precompile()'
- name: Build and deploy
Expand Down

0 comments on commit ac57809

Please sign in to comment.