Skip to content

Merge pull request #371 from asdf-vm/Stratus3D-patch-5 #102

Merge pull request #371 from asdf-vm/Stratus3D-patch-5

Merge pull request #371 from asdf-vm/Stratus3D-patch-5 #102

Workflow file for this run

name: CI
on:
workflow_dispatch:
pull_request:
paths-ignore:
- "**.md"
push:
branches:
- 'master'
paths-ignore:
- "**.md"
jobs:
test:
needs: [lint]
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macos-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Test plugin
uses: asdf-vm/actions/plugin-test@v3
with:
command: ruby -v
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run ShellCheck
run: shellcheck bin/* lib/*
format:
runs-on: macos-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install shfmt
run: brew install shfmt
- name: Run shfmt
run: shfmt -i 2 -d bin/ lib/