mirror of
https://github.com/ivuorinen/nvm-auto-use.fish.git
synced 2026-02-04 19:46:14 +00:00
41 lines
1.0 KiB
YAML
41 lines
1.0 KiB
YAML
name: Lint
|
|
|
|
on:
|
|
push:
|
|
branches: [main, develop]
|
|
pull_request:
|
|
branches: [main, develop]
|
|
|
|
jobs:
|
|
lint:
|
|
runs-on: ubuntu-latest
|
|
name: Lint codebase
|
|
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
|
|
|
- name: Setup Node.js
|
|
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
|
|
|
|
- name: Setup Fish shell
|
|
run: |
|
|
sudo apt-add-repository ppa:fish-shell/release-3
|
|
sudo apt-get update
|
|
sudo apt-get install -y fish
|
|
|
|
- name: Install linting tools
|
|
run: make install-tools
|
|
|
|
- name: Lint Fish files
|
|
run: make lint-fish
|
|
|
|
- name: Lint Markdown files
|
|
run: make lint-markdown
|
|
|
|
- name: Lint JSON files
|
|
run: make lint-json
|
|
|
|
- name: Test plugin installation
|
|
run: make test-ci
|