Skip to content

Bump fish-shop/install-plugin from 1 to 2 #250

Bump fish-shop/install-plugin from 1 to 2

Bump fish-shop/install-plugin from 1 to 2 #250

Workflow file for this run

name: tests
on:
push:
branches:
- main
pull_request:
branches:
- main
release:
types:
- published
workflow_dispatch:
jobs:
syntax:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install fish shell
uses: fish-actions/install-fish@v1
- name: Syntax check fish files
uses: fish-shop/syntax-check@v1
tests:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Fetch repository history for access to tags in tests
run: git fetch --prune --unshallow --tags --force
- name: Install fish shell
uses: fish-actions/install-fish@v1
- name: Install pond
uses: fish-shop/install-plugin@v2
with:
plugin-manager: fisher
plugins: (pwd)
- name: Run Fishtape tests
uses: fish-shop/run-fishtape-tests@v1
with:
pattern: tests/**.fish
install:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
plugin-manager: [fisher, oh-my-fish, plug.fish]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Install fish shell
uses: fish-actions/install-fish@v1
- name: Install pond using ${{ matrix.plugin-manager }}
uses: fish-shop/install-plugin@v2
with:
plugin-manager: ${{ matrix.plugin-manager }}
plugins: (pwd)
- name: Check pond is installed
run: functions -q pond
shell: fish {0}