Skip to content

Bump actions/cache from 4.2.0 to 4.2.1 #213

Bump actions/cache from 4.2.0 to 4.2.1

Bump actions/cache from 4.2.0 to 4.2.1 #213

Workflow file for this run

name: Julia 🔴🟢🟣 Tests 🦂
on:
push:
branches-ignore:
- 'main'
paths:
- 'julia/**'
- '!julia/**.md'
- '!julia/.vscode/**'
- '.github/workflows/julia-*'
pull_request:
branches:
- 'main'
paths:
- 'julia/**'
- '!julia/**.md'
- '!julia/.vscode/**'
- '.github/workflows/julia-*'
schedule: # 9AM on the 15th
- cron: 0 22 14 1,2,3,10,11,12 * # AEDT Months
- cron: 0 23 14 4,5,6,7,8,9 * # AEST Months
workflow_call:
permissions: {}
defaults:
run:
shell: bash
working-directory: julia
jobs:
quick-test:
name: Julia 🔴🟢🟣 Quick Test 🦂
if: ${{ github.event_name == 'push' && !(github.event.ref == 'refs/heads/main') }}
runs-on: ubuntu-latest
steps:
- name: 🏁 Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: 🔴🟢🟣 Set up Julia
uses: julia-actions/setup-julia@5c9647d97b78a5debe5164e9eec09d653d29bd71 # v2.6.1
with:
version: '1.7.2' # The current local version -- to use the same recipes as local
arch: 'x64'
- name: 🧱 Install build dependencies
run: make deps
- name: 🦂 Test
run: make test
full-test:
name: Julia 🔴🟢🟣 Full Test 🦂
if: >-
${{ github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch' ||
(github.event_name == 'push' && github.event.ref == 'refs/heads/main') }}
runs-on: '${{ matrix.os }}'
strategy:
fail-fast: false
matrix:
# From versions in https://julialang-s3.julialang.org/bin/versions.json ; Does NOT support 1.0
version: ['1', 'nightly', '1.6.0'] # '1.2.0' is the compat version, but 1.6 for @testset verbose
os: [ubuntu-latest, macOS-latest, windows-latest]
arch: [x64]
steps:
- name: 🏁 Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: 🔴🟢🟣 Set up Julia ${{ matrix.version }}
uses: julia-actions/setup-julia@5c9647d97b78a5debe5164e9eec09d653d29bd71 # v2.6.1
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- name: 🧰 Cache
uses: actions/cache@0c907a75c2c80ebcb7f088228285e798b750cf8f # v4.2.1
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 }}-
- name: 🦂 Test
uses: julia-actions/julia-runtest@1e03e0122a598a569004c1e26950e2547b350ec0 # v1.11.1
with:
project: julia
docs:
name: Julia 🔴🟢🟣 Docs 📄 Quick Test 🦂
runs-on: ubuntu-latest
steps:
- name: 🏁 Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: 🔴🟢🟣 Set up Julia
uses: julia-actions/setup-julia@5c9647d97b78a5debe5164e9eec09d653d29bd71 # v2.6.1
with:
version: '1.7.2'
- name: 📄 Docs
run: make docs