Skip to content

Bump actions/checkout from 5 to 6 #31

Bump actions/checkout from 5 to 6

Bump actions/checkout from 5 to 6 #31

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- master
tags: '*'
concurrency:
# group by workflow and ref; the last slightly strange component ensures that for pull
# requests, we limit to 1 concurrent job, but for the default repository branch we don't
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.ref_name != github.event.repository.default_branch || github.run_number }}
# Cancel intermediate builds, but only if it is a pull request build.
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
# needed to allow julia-actions/cache to delete old caches that it has created
permissions:
actions: write
contents: read
jobs:
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
version:
- '1.0'
- 'lts'
- '1'
# - 'nightly'
os:
- ubuntu-latest
- macos-latest
- windows-latest
arch:
- ''
exclude:
- os: macos-latest # Apple Silicon
version: '1.0'
arch: ''
include:
- os: macos-latest # Apple Silicon
version: '1.0'
# Install an x86_64 build of Julia, and run it under Rosetta 2 emulation
arch: 'x64'
steps:
- uses: actions/checkout@v6
- uses: julia-actions/setup-julia@v2
with:
version: ${{ matrix.version }}
arch: ${{ (matrix.arch == '') && runner.arch || matrix.arch }}
- uses: julia-actions/cache@v2
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}