Skip to content

MNT: (deps): Bump actions/checkout from 3 to 4 #758

MNT: (deps): Bump actions/checkout from 3 to 4

MNT: (deps): Bump actions/checkout from 3 to 4 #758

Workflow file for this run

name: Build Docs (Conda)
# We don't want pushes (or PRs) to gh-pages to kick anything off
on:
pull_request:
branches:
- main
- '[0-9]+.[0-9]+.x'
concurrency:
group: ${{ github.workflow}}-${{ github.head_ref }}
cancel-in-progress: true
jobs:
Docs:
name: ${{ matrix.os }} ${{ matrix.python-version }}
runs-on: ${{ matrix.os }}-latest
defaults:
run:
shell: bash -l {0}
strategy:
fail-fast: false
matrix:
include:
- python-version: '3.10'
os: Windows
- python-version: 3.11
os: macOS
- python-version: 3.12
os: macOS
steps:
- name: Checkout source
uses: actions/checkout@v4
with:
fetch-depth: 150
fetch-tags: true
- name: Install from Conda
uses: Unidata/MetPy/.github/actions/install-conda@main
with:
type: 'doc'
python-version: ${{ matrix.python-version }}
need-cartopy: true
- name: Build docs
uses: Unidata/MetPy/.github/actions/build-docs@main
with:
key: ${{ matrix.os }}-${{ matrix.python-version }}
make-targets: ''