diff --git a/.github/workflows/Downstream.yml b/.github/workflows/Downstream.yml index df7e2922..65f757f8 100644 --- a/.github/workflows/Downstream.yml +++ b/.github/workflows/Downstream.yml @@ -14,7 +14,7 @@ jobs: strategy: fail-fast: false matrix: - julia-version: [1.7] + julia-version: [1, 1.6] os: [ubuntu-latest] package: - {user: JuliaSymbolics, repo: Symbolics.jl, group: All} @@ -23,14 +23,14 @@ jobs: - {user: sumiya11, repo: ParamPunPam.jl, group: All} steps: - - uses: actions/checkout@v2 - - uses: julia-actions/setup-julia@v1 + - uses: actions/checkout@v4 + - uses: julia-actions/setup-julia@latest with: version: ${{ matrix.julia-version }} arch: x64 - uses: julia-actions/julia-buildpkg@latest - name: Clone Downstream - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: repository: ${{ matrix.package.user }}/${{ matrix.package.repo }} path: downstream diff --git a/.github/workflows/Runtests.yml b/.github/workflows/Runtests.yml index a8cc1175..7ae413f4 100644 --- a/.github/workflows/Runtests.yml +++ b/.github/workflows/Runtests.yml @@ -1,5 +1,5 @@ name: Runtests -on: [push, pull_request] +on: [push, pull_request] jobs: test: runs-on: ${{ matrix.os }} @@ -13,6 +13,16 @@ jobs: - uses: julia-actions/setup-julia@latest with: version: ${{ matrix.julia-version }} + - 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@latest - uses: julia-actions/julia-runtest@latest with: @@ -21,4 +31,4 @@ jobs: - uses: codecov/codecov-action@v3 with: file: lcov.info - \ No newline at end of file +