Skip to content

CI - IMPROVEMENT - Gate the Julia test suite on Julia changes, and general workflow cleanup #3

CI - IMPROVEMENT - Gate the Julia test suite on Julia changes, and general workflow cleanup

CI - IMPROVEMENT - Gate the Julia test suite on Julia changes, and general workflow cleanup #3

name: "Copilot Setup Steps"
# Automatically run the setup steps when they are changed to allow for easy validation,
# and allow manual testing through the repository's "Actions" tab
on:
workflow_dispatch:
push:
paths:
- .github/workflows/copilot-setup-steps.yaml
pull_request:
paths:
- .github/workflows/copilot-setup-steps.yaml
jobs:
# The job MUST be called `copilot-setup-steps` or it will not be picked up by Copilot
copilot-setup-steps:
runs-on: ubuntu-latest
timeout-minutes: 30
# Set the permissions to the lowest permissions possible needed for your steps
permissions:
contents: read
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Set up Julia
uses: julia-actions/setup-julia@v2
with:
version: '1.11'
- name: Cache Julia packages
uses: julia-actions/cache@v3
with:
cache-name: julia-cache
cache-packages: true
cache-artifacts: true
cache-registries: true
- name: Instantiate Julia environment
run: julia --project="." -e "using Pkg; Pkg.instantiate()"