Skip to content

Bump actions/cache from 3 to 4 #140

Bump actions/cache from 3 to 4

Bump actions/cache from 3 to 4 #140

Workflow file for this run

name: CI
env:
JULIA_NUM_THREADS: 2
on:
pull_request:
push:
branches:
- master
tags: '*'
merge_group:
jobs:
finalize:
timeout-minutes: 10
needs: [test]
if: always()
runs-on: ubuntu-latest
steps:
- run: |
echo test: ${{ needs.test.result }}
- run: exit 1
if: |
(needs.test.result != 'success')
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
version:
- 'nightly'
- '1'
os:
- ubuntu-latest
# - macos-latest
# - windows-latest
arch:
- x64
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v1
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/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v3
with:
file: lcov.info