Bump ruby-build to version v20240116 (#380) #115
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/ |