Skip to content

Main workflow

Main workflow #107

Workflow file for this run

name: Main workflow
on:
push:
paths-ignore:
- "**.md"
- ".all-contributorsrc"
pull_request:
paths-ignore:
- "**.md"
- ".all-contributorsrc"
schedule:
- cron: "0 0 * * 5"
jobs:
plugin_test:
strategy:
matrix:
os: [macos-latest, ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- name: asdf_plugin_test
uses: asdf-vm/actions/[email protected]
with:
command: mint version
env:
GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Run ShellCheck
run: shellcheck bin/*
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 -d -i 2 -ci .