Skip to content

Update Markdown links workflow #556

Update Markdown links workflow

Update Markdown links workflow #556

Workflow file for this run

name: tests
on:
push:
branches:
- main
pull_request:
branches:
- main
release:
types:
- published
workflow_dispatch:
permissions: read-all
jobs:
indentation:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Install fish shell
uses: fish-shop/install-fish-shell@79c0a7223691988319222fff66b30bec11f2ac95 # v1.0.44
- name: Check indentation
uses: fish-shop/indent-check@37ff8888616e487811dd50a36e4dac7418788f09 # v2.2.33
syntax:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Install fish shell
uses: fish-shop/install-fish-shell@79c0a7223691988319222fff66b30bec11f2ac95 # v1.0.44
- name: Syntax check fish files
uses: fish-shop/syntax-check@a8bfd3ce67aa86df3d92062ac5ac57571e735a89 # v2.2.32
tests:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Fetch repository history for access to tags in tests
run: git fetch --prune --unshallow --tags --force
- name: Install fish shell
uses: fish-shop/install-fish-shell@79c0a7223691988319222fff66b30bec11f2ac95 # v1.0.44
- name: Install pond
uses: fish-shop/install-plugin@25fdbab303138d1b8fae3620729b2e8525750da6 # v2.3.34
with:
plugin-manager: fisher
plugins: ${{ github.workspace }}
- name: Run Fishtape tests
uses: fish-shop/run-fishtape-tests@ba183b84a52fe5a098c3773b660ac94d6457a9f8 # v2.3.32
with:
patterns: tests/**.fish
install:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
plugin-manager: [fisher, oh-my-fish]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Install fish shell
uses: fish-shop/install-fish-shell@79c0a7223691988319222fff66b30bec11f2ac95 # v1.0.44
- name: Install pond using ${{ matrix.plugin-manager }}
uses: fish-shop/install-plugin@25fdbab303138d1b8fae3620729b2e8525750da6 # v2.3.34
with:
plugin-manager: ${{ matrix.plugin-manager }}
plugins: ${{ github.workspace }}
- name: Check pond is installed
run: functions -q pond
shell: fish {0}