Skip to content

Use caching in CI

Use caching in CI #65

Workflow file for this run

name: Check up-to-date Readme
on:
pull_request:
branches:
- master
push:
branches:
- master
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
readme:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: julia-actions/setup-julia@512e2ab44f5848ea62bddd21d1ee906e989b0360 # v2.4.0
with:
version: '1'
- uses: julia-actions/cache@8608484607cba0bdb5437a7bad85d6502499d029 # v2.0.4
- uses: quarto-dev/quarto-actions/setup@87b35bb88b36317fa36b5189e9553b4164a5c5a3 # v2.1.6
with:
version: pre-release
- name: Render readme
run: julia _readme/make.jl
- name: Succeed if there is no git diff output
run: git diff --exit-code