Skip to content

make mix binary executable #42

make mix binary executable

make mix binary executable #42

Workflow file for this run

name: Main workflow
on:
pull_request:
types:
- opened
- synchronize
- reopened
paths-ignore:
- "**.md"
push:
branches:
- main
paths-ignore:
- "**.md"
jobs:
plugin_test:
strategy:
fail-fast: false
matrix:
os:
- macos-latest
- ubuntu-latest
runs-on: ${{ matrix.os }}
steps:
- name: Install system packages on Ubuntu
if: ${{ runner.os == 'Linux' }}
run: sudo apt-get install curl erlang
- name: Install system packages on macOS
if: ${{ runner.os == 'macOS' }}
run: brew install coreutils erlang
- name: Test plugin
uses: asdf-vm/actions/plugin-test@v2
with:
command: elixir --version
version: 1.13.4-otp-22
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Run ShellCheck
run: shellcheck bin/*
format:
runs-on: macos-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install shfmt
run: brew install shfmt
- name: Run shfmt
run: shfmt -i 2 -d .